--enable-warnings-as-errors fails due to -D unused-mut with Rust 1.36
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: jbeich, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
$ rustc -vV
rustc 1.36.0-nightly
binary: rustc
commit-hash: 3f5152e200c0c02dfe0f79367948c98053d35855
commit-date: 2019-05-08
host: x86_64-unknown-freebsd
release: 1.36.0-nightly
LLVM version: 8.0
$ echo "ac_add_options --enable-warnings-as-errors" >>.mozconfig
$ ./mach build
[...]
error: variable does not need to be mutable
--> servo/components/style/properties/declaration_block.rs:1385:10
|
1385 | for (mut error, slice, property) in errors.drain() {
| ----^^^^^
| |
| help: remove this mut
|
= note: -D unused-mut
implied by -D warnings
error: aborting due to previous error
error: Could not compile style
.
Assignee | ||
Comment 1•6 years ago
|
||
If only my local warnings weren't busted because of https://github.com/rust-lang/rust/issues/60050...
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
(Thanks for the report :))
Comment 4•6 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Description
•