]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/slow-lhs-suggestion.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / ui / typeck / slow-lhs-suggestion.rs
1 fn main() {
2     1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1 = 1;
3     //~^ ERROR invalid left-hand side of assignment
4     //~| ERROR invalid left-hand side of assignment
5     //~| ERROR invalid left-hand side of assignment
6     //~| ERROR invalid left-hand side of assignment
7     //~| ERROR invalid left-hand side of assignment
8     //~| ERROR invalid left-hand side of assignment
9     //~| ERROR invalid left-hand side of assignment
10     //~| ERROR invalid left-hand side of assignment
11     //~| ERROR invalid left-hand side of assignment
12     //~| ERROR invalid left-hand side of assignment
13     //~| ERROR invalid left-hand side of assignment
14     //~| ERROR invalid left-hand side of assignment
15     //~| ERROR invalid left-hand side of assignment
16     //~| ERROR invalid left-hand side of assignment
17     //~| ERROR invalid left-hand side of assignment
18     //~| ERROR invalid left-hand side of assignment
19     //~| ERROR invalid left-hand side of assignment
20     //~| ERROR invalid left-hand side of assignment
21     //~| ERROR invalid left-hand side of assignment
22     //~| ERROR invalid left-hand side of assignment
23     //~| ERROR invalid left-hand side of assignment
24     //~| ERROR invalid left-hand side of assignment
25     //~| ERROR invalid left-hand side of assignment
26 }