You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recover from mutable variable declaration where mut is placed before let #100197
Compiling playground v0.0.1 (/playground)
error: expected expression, found keyword `mut`
--> src/main.rs:2:5
|
2 | mut let x = 123;
| ^^^ expected expression
error: could not compile `playground` due to previous error
Ideally the output should suggest to move the mut to behind the let, since the current error message does not identify the problem accurately.
Activity
obeis commentedon Aug 6, 2022
@rustbot claim
Rollup merge of rust-lang#100253 - obeis:issue-100197, r=cjgillot
Rollup merge of rust-lang#100253 - obeis:issue-100197, r=cjgillot