forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#84153 - Dylan-DPC:rollup-5jiqrwu, r=Dylan-DPC
Rollup of 6 pull requests Successful merges: - rust-lang#83438 (Update RELEASES.md) - rust-lang#83707 (Remove `T: Debug` bound on UnsafeCell Debug impl) - rust-lang#84084 (Stabilize duration_zero.) - rust-lang#84121 (Stabilize BTree{Map,Set}::retain) - rust-lang#84140 (Don't call bump in check_mistyped_turbofish_with_multiple_type_params) - rust-lang#84141 (Fix typo in error message) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
12 changed files
with
97 additions
and
31 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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
fn main() { | ||
let outer_local:e_outer<&str, { let inner_local:e_inner<&str, } | ||
//~^ ERROR expected one of `>`, a const expression | ||
//~| ERROR expected one of `>`, a const expression, lifetime, or type, found `}` | ||
//~| ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,` | ||
//~| ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,` | ||
//~| ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,` | ||
} | ||
//~^ ERROR expected one of `,`, `:`, `=`, or `>`, found `}` |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
error: expected one of `>`, a const expression, lifetime, or type, found `}` | ||
--> $DIR/issue-84117.rs:2:67 | ||
| | ||
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, } | ||
| ------------ ^ expected one of `>`, a const expression, lifetime, or type | ||
| | | | ||
| | help: use `=` if you meant to assign | ||
| while parsing the type for `inner_local` | ||
|
||
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,` | ||
--> $DIR/issue-84117.rs:2:65 | ||
| | ||
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, } | ||
| ^ expected one of 7 possible tokens | ||
|
||
error: expected one of `,`, `:`, `=`, or `>`, found `}` | ||
--> $DIR/issue-84117.rs:8:1 | ||
| | ||
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, } | ||
| ------------ help: use `=` if you meant to assign - expected one of `,`, `:`, `=`, or `>` | ||
| | | ||
| while parsing the type for `outer_local` | ||
... | ||
LL | } | ||
| ^ unexpected token | ||
|
||
error: expected one of `>`, a const expression, lifetime, or type, found `}` | ||
--> $DIR/issue-84117.rs:2:67 | ||
| | ||
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, } | ||
| ------------ ^ expected one of `>`, a const expression, lifetime, or type | ||
| | | | ||
| | help: use `=` if you meant to assign | ||
| while parsing the type for `inner_local` | ||
|
||
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,` | ||
--> $DIR/issue-84117.rs:2:65 | ||
| | ||
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, } | ||
| ^ expected one of 7 possible tokens | ||
|
||
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, or an operator, found `,` | ||
--> $DIR/issue-84117.rs:2:33 | ||
| | ||
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, } | ||
| ^ expected one of 7 possible tokens | ||
|
||
error: aborting due to 6 previous errors | ||
|