Rollup merge of #128496 - clubby789:box-syntax-multipart, r=compiler-errors
Fix removed `box_syntax` diagnostic if source isn't available Fix #128442
This commit is contained in:
commit
29cd3103a1
4 changed files with 28 additions and 17 deletions
|
@ -66,7 +66,7 @@ parse_box_not_pat = expected pattern, found {$descr}
|
|||
.suggestion = escape `box` to use it as an identifier
|
||||
|
||||
parse_box_syntax_removed = `box_syntax` has been removed
|
||||
.suggestion = use `Box::new()` instead
|
||||
parse_box_syntax_removed_suggestion = use `Box::new()` instead
|
||||
|
||||
parse_cannot_be_raw_ident = `{$ident}` cannot be a raw identifier
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue