1
Fork 0

Fix issues and add test

This commit is contained in:
Ryan Levick 2021-06-01 18:01:13 +02:00
parent 69a19bfd43
commit 4675690ac4
4 changed files with 15 additions and 3 deletions

View file

@ -147,7 +147,7 @@ impl<'s> LintLevelsBuilder<'s> {
LintLevelSource::Default => false,
LintLevelSource::Node(symbol, _, _) => self.store.is_lint_group(symbol),
LintLevelSource::CommandLine(symbol, _) => self.store.is_lint_group(symbol),
LintLevelSource::ForceWarn(symbol) => {
LintLevelSource::ForceWarn(_symbol) => {
bug!("forced warn lint returned a forbid lint level")
}
};