File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ pub struct LintGroup {
6767}
6868
6969const RUST_2024_COMPATIBILITY : LintGroup = LintGroup {
70- name : "rust-2024-compatibility " ,
70+ name : "rust_2024_compatibility " ,
7171 default_level : LintLevel :: Allow ,
7272 desc : "warn about compatibility with Rust 2024" ,
7373 edition_lint_opts : Some ( ( Edition :: Edition2024 , LintLevel :: Deny ) ) ,
@@ -150,7 +150,7 @@ impl From<TomlLintLevel> for LintLevel {
150150/// [RFC #3143]: https://rust-lang.github.io/rfcs/3143-cargo-weak-namespaced-features.html
151151/// [RFC #3491]: https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html
152152const IMPLICIT_FEATURES : Lint = Lint {
153- name : "implicit-features " ,
153+ name : "implicit_features " ,
154154 desc : "warn about the use of unstable features" ,
155155 groups : & [ RUST_2024_COMPATIBILITY ] ,
156156 default_level : LintLevel :: Allow ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ edition = "2021"
1919bar = { version = "0.1.0", optional = true }
2020
2121[lints.cargo]
22- implicit-features = "warn"
22+ implicit_features = "warn"
2323"# ,
2424 )
2525 . file ( "src/lib.rs" , "" )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ edition = "2024"
2020bar = { version = "0.1.0", optional = true }
2121
2222[lints.cargo]
23- implicit-features = "warn"
23+ implicit_features = "warn"
2424"# ,
2525 )
2626 . file ( "src/lib.rs" , "" )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ edition = "2021"
1919bar = { version = "0.1.0", optional = true }
2020
2121[lints.cargo]
22- rust-2024-compatibility = "warn"
22+ rust_2024_compatibility = "warn"
2323"# ,
2424 )
2525 . file ( "src/lib.rs" , "" )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ edition = "2024"
2020bar = { version = "0.1.0", optional = true }
2121
2222[lints.cargo]
23- rust-2024-compatibility = "warn"
23+ rust_2024_compatibility = "warn"
2424"# ,
2525 )
2626 . file ( "src/lib.rs" , "" )
You can’t perform that action at this time.
0 commit comments