]> git.lizzy.rs Git - rust.git/commitdiff
Switch `rustc::internal` from deny to warn
authorJoshua Nelson <jyn514@gmail.com>
Tue, 27 Apr 2021 17:00:36 +0000 (13:00 -0400)
committerJoshua Nelson <jyn514@gmail.com>
Tue, 27 Apr 2021 17:00:36 +0000 (13:00 -0400)
These should still obey deny-warnings.

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

index 11fef30945d7884a0b655318369979a1bbc326bd..22e6bb822b8c273f0f2d2f9490768cf2a5ca4234 100644 (file)
@@ -17,7 +17,7 @@
 // warn on lints, that are included in `rust-lang/rust`s bootstrap
 #![warn(rust_2018_idioms, unused_lifetimes)]
 // warn on rustc internal lints
-#![deny(rustc::internal)]
+#![warn(rustc::internal)]
 
 // FIXME: switch to something more ergonomic here, once available.
 // (Currently there is no way to opt into sysroot crates without `extern crate`.)
index fa0c5f01430b615ce7d2b46e5c713f45bb8992c0..750a23e8c9841f4dcf29670cecb2b8f6e047b182 100644 (file)
@@ -4,7 +4,7 @@
 // warn on lints, that are included in `rust-lang/rust`s bootstrap
 #![warn(rust_2018_idioms, unused_lifetimes)]
 // warn on rustc internal lints
-#![deny(rustc::internal)]
+#![warn(rustc::internal)]
 
 // FIXME: switch to something more ergonomic here, once available.
 // (Currently there is no way to opt into sysroot crates without `extern crate`.)