We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab876f commit 7a87660Copy full SHA for 7a87660
Cargo.toml
@@ -33,3 +33,8 @@ loom = "0.7"
33
34
[package.metadata.docs.rs]
35
rustdoc-args = ["--cfg", "docsrs"]
36
+
37
+[lints.rust]
38
+unexpected_cfgs = { level = "warn", check-cfg = [
39
+ 'cfg(loom)',
40
+] }
src/lib.rs
@@ -1,4 +1,3 @@
1
-#![allow(unknown_lints, unexpected_cfgs)]
2
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
3
#![doc(test(
4
no_crate_inject,
0 commit comments