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> {
705
705
if is_let {
706
706
err. span_suggestion (
707
707
non_item_span,
708
- "considering use `const` instead of `let` for associated const" ,
708
+ "consider using `const` instead of `let` for associated const" ,
709
709
"const" ,
710
710
Applicability :: MachineApplicable ,
711
711
) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ error: non-item in item list
2
2
--> $DIR/suggest-assoc-const.rs:4:5
3
3
|
4
4
LL | 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`
6
6
7
7
error: aborting due to previous error
8
8
You can’t perform that action at this time.
0 commit comments