Fix issues and add test
This commit is contained in:
parent
69a19bfd43
commit
4675690ac4
4 changed files with 15 additions and 3 deletions
|
@ -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")
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue