1 error: ambigious use of `&&`
2 --> $DIR/syntax-ambiguity-2015.rs:21:47
4 LL | if let Range { start: _, end: _ } = true..true && false { }
5 | ^^^^^^^^^^^^^ help: consider adding parentheses: `(true && false)`
7 = note: this will be a error until the `let_chains` feature is stabilized
8 = note: see rust-lang/rust#53668 for more information
10 error: ambigious use of `||`
11 --> $DIR/syntax-ambiguity-2015.rs:24:47
13 LL | if let Range { start: _, end: _ } = true..true || false { }
14 | ^^^^^^^^^^^^^ help: consider adding parentheses: `(true || false)`
16 = note: this will be a error until the `let_chains` feature is stabilized
17 = note: see rust-lang/rust#53668 for more information
19 error: ambigious use of `&&`
20 --> $DIR/syntax-ambiguity-2015.rs:27:50
22 LL | while let Range { start: _, end: _ } = true..true && false { }
23 | ^^^^^^^^^^^^^ help: consider adding parentheses: `(true && false)`
25 = note: this will be a error until the `let_chains` feature is stabilized
26 = note: see rust-lang/rust#53668 for more information
28 error: ambigious use of `||`
29 --> $DIR/syntax-ambiguity-2015.rs:30:50
31 LL | while let Range { start: _, end: _ } = true..true || false { }
32 | ^^^^^^^^^^^^^ help: consider adding parentheses: `(true || false)`
34 = note: this will be a error until the `let_chains` feature is stabilized
35 = note: see rust-lang/rust#53668 for more information
37 error: ambigious use of `&&`
38 --> $DIR/syntax-ambiguity-2015.rs:33:19
40 LL | if let true = false && false { }
41 | ^^^^^^^^^^^^^^ help: consider adding parentheses: `(false && false)`
43 = note: this will be a error until the `let_chains` feature is stabilized
44 = note: see rust-lang/rust#53668 for more information
46 error: ambigious use of `&&`
47 --> $DIR/syntax-ambiguity-2015.rs:36:22
49 LL | while let true = (1 == 2) && false { }
50 | ^^^^^^^^^^^^^^^^^ help: consider adding parentheses: `((1 == 2) && false)`
52 = note: this will be a error until the `let_chains` feature is stabilized
53 = note: see rust-lang/rust#53668 for more information
55 error: aborting due to 6 previous errors