chore: Allow necessary cfg attribute
This commit is contained in:
parent
13a546056e
commit
0f7b3f3b04
@ -43,6 +43,9 @@ web-time = "1.1.0"
|
|||||||
[workspace.lints.rust]
|
[workspace.lints.rust]
|
||||||
rust_2018_idioms = { level = "warn", priority = -1 }
|
rust_2018_idioms = { level = "warn", priority = -1 }
|
||||||
semicolon_in_expressions_from_macros = "warn"
|
semicolon_in_expressions_from_macros = "warn"
|
||||||
|
unexpected_cfgs = { level = "warn", check-cfg = [
|
||||||
|
'cfg(ruma_identifiers_storage, values("Arc"))', # used by the IdZst macro
|
||||||
|
] }
|
||||||
unreachable_pub = "warn"
|
unreachable_pub = "warn"
|
||||||
unused_import_braces = "warn"
|
unused_import_braces = "warn"
|
||||||
unused_qualifications = "warn"
|
unused_qualifications = "warn"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user