about summary refs log tree commit diff
path: root/tests/ui/parser/issues/issue-100197-mut-let.stderr
blob: e43d5f68607deb183900ed9bc52f362ef201e1e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: invalid variable declaration
  --> $DIR/issue-100197-mut-let.rs:4:5
   |
LL |     mut let _x = 123;
   |     ^^^^^^^
   |
help: switch the order of `mut` and `let`
   |
LL -     mut let _x = 123;
LL +     let mut _x = 123;
   |

error: aborting due to 1 previous error