Enforce #[expect(lint)]

This commit is contained in:
Ruihan Li
2025-01-25 00:56:07 +08:00
committed by Tate, Hongliang Tian
parent 0dca168717
commit 95bbc7f367
34 changed files with 103 additions and 17 deletions

View File

@ -21,3 +21,6 @@ smoltcp = { git = "https://github.com/asterinas/smoltcp", tag = "r_2024-11-08_f0
spin = "0.9.4"
static_assertions = "1.1.0"
takeable = "0.2.2"
[lints]
workspace = true

View File

@ -12,3 +12,6 @@ proc-macro = true
proc-macro2 = "1.0"
quote = "1.0"
syn = {version = "1.0.90", features = ["full", "fold"]}
[lints]
workspace = true

View File

@ -11,4 +11,5 @@ typeflags-util = { path = "../typeflags-util" }
bitflags = "1.3"
aster-rights-proc = { path = "../aster-rights-proc" }
[features]
[lints]
workspace = true

View File

@ -12,4 +12,5 @@ aster-rights-proc = { path = "../aster-rights-proc" }
aster-rights = { path = "../aster-rights" }
inherit-methods-macro = { git = "https://github.com/asterinas/inherit-methods-macro", rev = "98f7e3e" }
[features]
[lints]
workspace = true

View File

@ -10,3 +10,6 @@ proc-macro = true
proc-macro2 = "1.0.86"
quote = "1.0.37"
syn = { version = "2.0.77", features = ["full"] }
[lints]
workspace = true

View File

@ -8,4 +8,7 @@ edition = "2021"
[dependencies]
int-to-c-enum = { path = "../../libs/int-to-c-enum" }
core2 = { version = "0.4", default-features = false, features = ["alloc"] }
lending-iterator = "0.1.7"
lending-iterator = "0.1.7"
[lints]
workspace = true

View File

@ -15,3 +15,6 @@ int-to-c-enum-derive = { path = "derive", optional = true, version = "0.1.0"}
[features]
default = ["derive"]
derive = ["int-to-c-enum-derive"]
[lints]
workspace = true

View File

@ -15,3 +15,6 @@ proc-macro = true
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0.15", features = ["parsing"] }
[lints]
workspace = true

View File

@ -4,3 +4,6 @@ version = "0.1.0"
edition = "2024"
[dependencies]
[lints]
workspace = true

View File

@ -7,3 +7,5 @@ edition = "2021"
[dependencies]
[lints]
workspace = true

View File

@ -6,3 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[lints]
workspace = true

View File

@ -14,3 +14,6 @@ proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0.90" }
typeflags-util = { path = "../typeflags-util" }
[lints]
workspace = true