]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/slow-lhs-suggestion.rs
Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnr
[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 }