Report unexpected_cfgs
lint in external macros
This commit is contained in:
parent
c602e9aeaa
commit
cc48194baf
4 changed files with 38 additions and 0 deletions
|
@ -3185,6 +3185,7 @@ declare_lint! {
|
|||
pub UNEXPECTED_CFGS,
|
||||
Warn,
|
||||
"detects unexpected names and values in `#[cfg]` conditions",
|
||||
report_in_external_macro
|
||||
}
|
||||
|
||||
declare_lint! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue