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

27 lines
706 B
Plaintext
Raw Normal View History

2017-08-21 16:54:03 -05:00
error: unexpected generic arguments in path
--> $DIR/macro-ty-params.rs:20:8
|
2018-02-22 18:42:32 -06:00
LL | m!(MyTrait<>); //~ ERROR generic arguments in macro path
2017-08-21 16:54:03 -05:00
| ^^^^^^^^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:18:8
|
2018-02-22 18:42:32 -06:00
LL | foo::<T>!(); //~ ERROR generic arguments in macro path
| ^^^^^
error: generic arguments in macro path
2017-08-21 16:54:03 -05:00
--> $DIR/macro-ty-params.rs:19:8
|
2018-02-22 18:42:32 -06:00
LL | foo::<>!(); //~ ERROR generic arguments in macro path
| ^^^^
error: generic arguments in macro path
2017-08-21 16:54:03 -05:00
--> $DIR/macro-ty-params.rs:20:15
|
2018-02-22 18:42:32 -06:00
LL | m!(MyTrait<>); //~ ERROR generic arguments in macro path
| ^^
error: aborting due to 4 previous errors