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