rust/src/test/ui/span/macro-ty-params.stderr

26 lines
706 B
Text

error: unexpected generic arguments in path
--> $DIR/macro-ty-params.rs:20:8
|
LL | m!(MyTrait<>); //~ ERROR generic arguments in macro path
| ^^^^^^^^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:20:15
|
LL | m!(MyTrait<>); //~ ERROR generic arguments in macro path
| ^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:18:8
|
LL | foo::<T>!(); //~ ERROR generic arguments in macro path
| ^^^^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:19:8
|
LL | foo::<>!(); //~ ERROR generic arguments in macro path
| ^^^^
error: aborting due to 4 previous errors