File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ pub struct LintGroup {
67
67
}
68
68
69
69
const RUST_2024_COMPATIBILITY : LintGroup = LintGroup {
70
- name : "rust-2024-compatibility " ,
70
+ name : "rust_2024_compatibility " ,
71
71
default_level : LintLevel :: Allow ,
72
72
desc : "warn about compatibility with Rust 2024" ,
73
73
edition_lint_opts : Some ( ( Edition :: Edition2024 , LintLevel :: Deny ) ) ,
@@ -150,7 +150,7 @@ impl From<TomlLintLevel> for LintLevel {
150
150
/// [RFC #3143]: https://rust-lang.github.io/rfcs/3143-cargo-weak-namespaced-features.html
151
151
/// [RFC #3491]: https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html
152
152
const IMPLICIT_FEATURES : Lint = Lint {
153
- name : "implicit-features " ,
153
+ name : "implicit_features " ,
154
154
desc : "warn about the use of unstable features" ,
155
155
groups : & [ RUST_2024_COMPATIBILITY ] ,
156
156
default_level : LintLevel :: Allow ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ edition = "2021"
19
19
bar = { version = "0.1.0", optional = true }
20
20
21
21
[lints.cargo]
22
- implicit-features = "warn"
22
+ implicit_features = "warn"
23
23
"# ,
24
24
)
25
25
. file ( "src/lib.rs" , "" )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ edition = "2024"
20
20
bar = { version = "0.1.0", optional = true }
21
21
22
22
[lints.cargo]
23
- implicit-features = "warn"
23
+ implicit_features = "warn"
24
24
"# ,
25
25
)
26
26
. file ( "src/lib.rs" , "" )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ edition = "2021"
19
19
bar = { version = "0.1.0", optional = true }
20
20
21
21
[lints.cargo]
22
- rust-2024-compatibility = "warn"
22
+ rust_2024_compatibility = "warn"
23
23
"# ,
24
24
)
25
25
. file ( "src/lib.rs" , "" )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ edition = "2024"
20
20
bar = { version = "0.1.0", optional = true }
21
21
22
22
[lints.cargo]
23
- rust-2024-compatibility = "warn"
23
+ rust_2024_compatibility = "warn"
24
24
"# ,
25
25
)
26
26
. file ( "src/lib.rs" , "" )
You can’t perform that action at this time.
0 commit comments