]> git.lizzy.rs Git - rust.git/commitdiff
Fix clippy build failure
authorKrishna Veera Reddy <veerareddy@email.arizona.edu>
Tue, 17 Dec 2019 06:29:05 +0000 (22:29 -0800)
committerKrishna Veera Reddy <veerareddy@email.arizona.edu>
Tue, 17 Dec 2019 06:29:05 +0000 (22:29 -0800)
Clippy build fails because the feature `result_map_or` has been
stabilized in v1.41.0 but we still have an explicit feature
attribute for it.

clippy_lints/src/lib.rs
src/driver.rs

index 736ff30c81a7b3432498eb81e341fd96fe563c0c..bae4eebf8508e1b7992e1523e93613d3d0cf89c0 100644 (file)
@@ -12,7 +12,6 @@
 #![cfg_attr(feature = "deny-warnings", deny(warnings))]
 #![feature(crate_visibility_modifier)]
 #![feature(concat_idents)]
-#![feature(result_map_or)]
 
 // FIXME: switch to something more ergonomic here, once available.
 // (Currently there is no way to opt into sysroot crates without `extern crate`.)
index fda304afcbe184a3bc18d764e70f3ade2fc46df0..4cdff783788796949d16e7c47a087619124490ea 100644 (file)
@@ -1,5 +1,4 @@
 #![cfg_attr(feature = "deny-warnings", deny(warnings))]
-#![feature(result_map_or)]
 #![feature(rustc_private)]
 
 // FIXME: switch to something more ergonomic here, once available.