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
|
2017-11-20 06:13:27 -06:00
20 | 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
|
2017-11-20 06:13:27 -06:00
18 | 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
|
2017-11-20 06:13:27 -06:00
19 | 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
|
2017-11-20 06:13:27 -06:00
20 | m!(MyTrait<>); //~ ERROR generic arguments in macro path
| ^^
error: aborting due to 4 previous errors