Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
38 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
error: generic arguments in import path | ||
--> $DIR/import-ty-params.rs:24:25 | ||
error: unexpected generic arguments in path | ||
--> $DIR/import-ty-params.rs:24:15 | ||
| | ||
24 | import! { a::b::c::S<u8> } //~ ERROR generic arguments in import path | ||
| ^^^^ | ||
24 | import! { a::b::c::S<u8> } //~ ERROR unexpected generic arguments in path | ||
| ^^^^^^^^^^^^^^ | ||
|
||
error: generic arguments in import path | ||
--> $DIR/import-ty-params.rs:27:25 | ||
error: unexpected generic arguments in path | ||
--> $DIR/import-ty-params.rs:27:15 | ||
| | ||
27 | import! { a::b::c::S<> } //~ ERROR generic arguments in import path | ||
| ^^ | ||
27 | import! { a::b::c::S<> } //~ ERROR unexpected generic arguments in path | ||
| ^^^^^^^^^^^^ | ||
|
||
error: aborting due to 2 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,32 @@ | ||
error: unexpected generic arguments in path | ||
--> $DIR/macro-ty-params.rs:20:8 | ||
| | ||
20 | m!(MyTrait<>); | ||
| ^^^^^^^^^ | ||
|
||
error: unexpected generic arguments in path | ||
--> $DIR/macro-ty-params.rs:20:8 | ||
| | ||
20 | m!(MyTrait<>); | ||
| ^^^^^^^^^ | ||
|
||
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 | ||
--> $DIR/macro-ty-params.rs:19:8 | ||
| | ||
22 | foo::<>!(); | ||
19 | foo::<>!(); | ||
| ^^^^ | ||
|
||
error: generic arguments in macro path | ||
--> $DIR/macro-ty-params.rs:26:15 | ||
--> $DIR/macro-ty-params.rs:20:15 | ||
| | ||
26 | m!(MyTrait<>); | ||
20 | m!(MyTrait<>); | ||
| ^^ | ||
|
||
error: aborting due to 3 previous errors | ||
error: aborting due to 5 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
error: generic arguments in visibility path | ||
--> $DIR/visibility-ty-params.rs:16:6 | ||
| | ||
16 | m!{ S<u8> } //~ ERROR generic arguments in visibility path | ||
| ^^^^ | ||
|
||
error: generic arguments in visibility path | ||
--> $DIR/visibility-ty-params.rs:20:10 | ||
error: unexpected generic arguments in path | ||
--> $DIR/visibility-ty-params.rs:16:5 | ||
| | ||
20 | m!{ m<> } //~ ERROR generic arguments in visibility path | ||
| ^^ | ||
16 | m!{ S<u8> } //~ ERROR unexpected generic arguments in path | ||
| ^^^^^ | ||
|
||
error[E0577]: expected module, found struct `S` | ||
--> $DIR/visibility-ty-params.rs:16:5 | ||
error: unexpected generic arguments in path | ||
--> $DIR/visibility-ty-params.rs:20:9 | ||
| | ||
16 | m!{ S<u8> } //~ ERROR generic arguments in visibility path | ||
| -^^^^ | ||
| | | ||
| did you mean `m`? | ||
20 | m!{ m<> } //~ ERROR unexpected generic arguments in path | ||
| ^^^ | ||
|
||
error: aborting due to 3 previous errors | ||
error: aborting due to 2 previous errors | ||
|