err.note(
"this will be a error until the `let_chains` feature is stabilized"
);
+ err.note(
+ "see rust-lang/rust#53668 for more information"
+ );
if let Ok(snippet) = self.session.source_map().span_to_snippet(span) {
err.span_suggestion(
| ^^^^^^^^^^^^^ 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-2015.rs:24:47
| ^^^^^^^^^^^^^ 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-2015.rs:27:50
| ^^^^^^^^^^^^^ 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-2015.rs:30:50
| ^^^^^^^^^^^^^ 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-2015.rs:33:19
| ^^^^^^^^^^^^^^ 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-2015.rs:36:22
| ^^^^^^^^^^^^^^^^^ 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
| ^^^^^^^^^^^^^ 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
| ^^^^^^^^^^^^^ 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
| ^^^^^^^^^^^^^ 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
| ^^^^^^^^^^^^^ 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
| ^^^^^^^^^^^^^^ 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
| ^^^^^^^^^^^^^^^^^ 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