Add warning against unexpected --cfg with --check-cfg

This commit is contained in:
Urgau 2022-08-11 19:50:48 +02:00
parent 137eea86db
commit eccdccf4eb
8 changed files with 66 additions and 4 deletions

View file

@ -144,6 +144,7 @@ macro_rules! early_lint_passes {
IncompleteFeatures: IncompleteFeatures,
RedundantSemicolons: RedundantSemicolons,
UnusedDocComment: UnusedDocComment,
UnexpectedCfgs: UnexpectedCfgs,
]
);
};