error: ambigious use of `&&` --> $DIR/syntax-ambiguity-2018.rs:21:47 | LL | if let Range { start: _, end: _ } = true..true && false { } | ^^^^^^^^^^^^^ help: consider adding parentheses: `(true && false)` | = note: this will be a error until the `let_chains` feature is stabilized = note: see rust-lang/rust#53668 for more information error: ambigious use of `||` --> $DIR/syntax-ambiguity-2018.rs:24:47 | LL | if let Range { start: _, end: _ } = true..true || false { } | ^^^^^^^^^^^^^ help: consider adding parentheses: `(true || false)` | = note: this will be a error until the `let_chains` feature is stabilized = note: see rust-lang/rust#53668 for more information error: ambigious use of `&&` --> $DIR/syntax-ambiguity-2018.rs:27:50 | LL | while let Range { start: _, end: _ } = true..true && false { } | ^^^^^^^^^^^^^ help: consider adding parentheses: `(true && false)` | = note: this will be a error until the `let_chains` feature is stabilized = note: see rust-lang/rust#53668 for more information error: ambigious use of `||` --> $DIR/syntax-ambiguity-2018.rs:30:50 | LL | while let Range { start: _, end: _ } = true..true || false { } | ^^^^^^^^^^^^^ help: consider adding parentheses: `(true || false)` | = note: this will be a error until the `let_chains` feature is stabilized = note: see rust-lang/rust#53668 for more information error: ambigious use of `&&` --> $DIR/syntax-ambiguity-2018.rs:33:19 | LL | if let true = false && false { } | ^^^^^^^^^^^^^^ help: consider adding parentheses: `(false && false)` | = note: this will be a error until the `let_chains` feature is stabilized = note: see rust-lang/rust#53668 for more information error: ambigious use of `&&` --> $DIR/syntax-ambiguity-2018.rs:36:22 | LL | while let true = (1 == 2) && false { } | ^^^^^^^^^^^^^^^^^ help: consider adding parentheses: `((1 == 2) && false)` | = note: this will be a error until the `let_chains` feature is stabilized = note: see rust-lang/rust#53668 for more information error: aborting due to 6 previous errors