fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
870 B25 linesraw
1error[E0107]: wrong number of type arguments: expected 0, found 1
2  --> $DIR/issue-53251.rs:11:24
3   |
4LL |                 S::f::<i64>();
5   |                        ^^^ unexpected type argument
6...
7LL | impl_add!(a b);
8   | --------------- in this macro invocation
9   |
10   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
11
12error[E0107]: wrong number of type arguments: expected 0, found 1
13  --> $DIR/issue-53251.rs:11:24
14   |
15LL |                 S::f::<i64>();
16   |                        ^^^ unexpected type argument
17...
18LL | impl_add!(a b);
19   | --------------- in this macro invocation
20   |
21   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0107`.