]> git.proxmox.com Git - rustc.git/blob - tests/ui/typeck/slow-lhs-suggestion.rs
New upstream version 1.68.2+dfsg1
[rustc.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 }