Avoid duplicated errors for generic arguments in macro paths
This commit is contained in:
parent
128f565dae
commit
1e8a7f68e9
3 changed files with 16 additions and 49 deletions
|
|
@ -16,47 +16,5 @@ error: generic arguments in macro path
|
|||
26 | m!(MyTrait<>);
|
||||
| ^^
|
||||
|
||||
error: generic arguments in macro path
|
||||
--> $DIR/macro-ty-params.rs:26:15
|
||||
|
|
||||
26 | m!(MyTrait<>);
|
||||
| ^^
|
||||
|
||||
error: generic arguments in macro path
|
||||
--> $DIR/macro-ty-params.rs:26:15
|
||||
|
|
||||
26 | m!(MyTrait<>);
|
||||
| ^^
|
||||
|
||||
error: generic arguments in macro path
|
||||
--> $DIR/macro-ty-params.rs:22:8
|
||||
|
|
||||
22 | foo::<>!();
|
||||
| ^^^^
|
||||
|
||||
error: generic arguments in macro path
|
||||
--> $DIR/macro-ty-params.rs:18:8
|
||||
|
|
||||
18 | foo::<T>!();
|
||||
| ^^^^^
|
||||
|
||||
error: generic arguments in macro path
|
||||
--> $DIR/macro-ty-params.rs:18:8
|
||||
|
|
||||
18 | foo::<T>!();
|
||||
| ^^^^^
|
||||
|
||||
error: generic arguments in macro path
|
||||
--> $DIR/macro-ty-params.rs:22:8
|
||||
|
|
||||
22 | foo::<>!();
|
||||
| ^^^^
|
||||
|
||||
error: generic arguments in macro path
|
||||
--> $DIR/macro-ty-params.rs:26:15
|
||||
|
|
||||
26 | m!(MyTrait<>);
|
||||
| ^^
|
||||
|
||||
error: aborting due to 10 previous errors
|
||||
error: aborting due to 3 previous errors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue