forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#79591 - estebank:unexpected-generics, r=oli…
…-obk Point only at generic arguments when they are unexpected
- Loading branch information
Showing
5 changed files
with
29 additions
and
12 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,8 +1,8 @@ | ||
error: unexpected generic arguments in path | ||
--> $DIR/issue-43424.rs:10:4 | ||
--> $DIR/issue-43424.rs:10:10 | ||
| | ||
LL | m!(inline<u8>); | ||
| ^^^^^^^^^^ | ||
| ^^^^ | ||
|
||
error: aborting due to previous error | ||
|
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,20 @@ | ||
error: unexpected generic arguments in path | ||
--> $DIR/import-ty-params.rs:14:15 | ||
--> $DIR/import-ty-params.rs:14:25 | ||
| | ||
LL | import! { a::b::c::S<u8> } | ||
| ^^^^^^^^^^^^^^ | ||
| ^^^^ | ||
|
||
error: unexpected generic arguments in path | ||
--> $DIR/import-ty-params.rs:17:15 | ||
--> $DIR/import-ty-params.rs:17:25 | ||
| | ||
LL | import! { a::b::c::S<> } | ||
| ^^^^^^^^^^^^ | ||
| ^^ | ||
|
||
error: aborting due to 2 previous errors | ||
error: unexpected generic arguments in path | ||
--> $DIR/import-ty-params.rs:20:19 | ||
| | ||
LL | import! { a::b<>::c<u8>::S<> } | ||
| ^^ ^^^^ ^^ | ||
|
||
error: aborting due to 3 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