diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-07-25 00:33:15 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-07-27 23:01:17 +0300 |
| commit | 1e8a7f68e9c8dea677390b84fa72476ddb4bf1ca (patch) | |
| tree | f3d04e0fb830ba4e6be59ab4bab54e4fbcfd9301 /src/test | |
| parent | 128f565daeced02b9d90e1d1a6c0988d25fc1701 (diff) | |
| download | rust-1e8a7f68e9c8dea677390b84fa72476ddb4bf1ca.tar.gz rust-1e8a7f68e9c8dea677390b84fa72476ddb4bf1ca.zip | |
Avoid duplicated errors for generic arguments in macro paths
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/span/macro-ty-params.stderr | 44 |
1 files changed, 1 insertions, 43 deletions
diff --git a/src/test/ui/span/macro-ty-params.stderr b/src/test/ui/span/macro-ty-params.stderr index ff3847ce1fa..f7115a04826 100644 --- a/src/test/ui/span/macro-ty-params.stderr +++ b/src/test/ui/span/macro-ty-params.stderr @@ -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 |
