We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 589c4ba commit c59d562Copy full SHA for c59d562
Cargo.toml
@@ -63,7 +63,7 @@ version = "0.2.0-alpha.1"
63
missing_docs = "warn"
64
unreachable_pub = "warn"
65
rust_2021_compatibility = { level = "warn", priority = -1 }
66
-unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] }
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
67
68
[workspace.lints.clippy]
69
pedantic = "warn"
contracts/src/lib.rs
@@ -46,7 +46,7 @@ impl MyContract { }
46
)]
47
#![cfg_attr(not(feature = "std"), no_std, no_main)]
48
#![deny(rustdoc::broken_intra_doc_links)]
49
-#![feature(coverage_attribute)]
+#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
50
extern crate alloc;
51
52
pub mod access;
0 commit comments