Closed
Description
Hello together,
compiling Rust 1.42.0 with Rust 1.42.0 results in this error early on:
Compiling bootstrap v0.0.0 (/datastore/rpmbuild/BUILD/rustc-1.42.0-src/src/bootstrap)
error: unnecessary parentheses around block return value
--> src/bootstrap/lib.rs:1029:9
|
1029 | (target.contains("linux-gnu") || target.contains("apple-darwin"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
|
= note: `-D unused-parens` implied by `-D warnings`
error: aborting due to previous error
error: could not compile `bootstrap`.
I'm now going to test this fix:
5f979e9#diff-6710e3160b86e8cc371d2ff58ae1061c
The compiler was built with Rust 1.41.1.
I always do the "Rustception" test ;)