File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_parse/src/parser Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -705,7 +705,7 @@ impl<'a> Parser<'a> {
705705 if is_let {
706706 err. span_suggestion (
707707 non_item_span,
708- "considering use `const` instead of `let` for associated const" ,
708+ "consider using `const` instead of `let` for associated const" ,
709709 "const" ,
710710 Applicability :: MachineApplicable ,
711711 ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ error: non-item in item list
22 --> $DIR/suggest-assoc-const.rs:4:5
33 |
44LL | let _X: i32;
5- | ^^^ help: considering use `const` instead of `let` for associated const: `const`
5+ | ^^^ help: consider using `const` instead of `let` for associated const: `const`
66
77error: aborting due to previous error
88
You can’t perform that action at this time.
0 commit comments