Add OnceHelp lint level (same as OnceNote, except for help)
This commit is contained in:
parent
bf1e3f31f9
commit
eba5b44729
3 changed files with 14 additions and 4 deletions
|
@ -91,7 +91,7 @@ fn annotation_type_for_level(level: Level) -> AnnotationType {
|
|||
}
|
||||
Level::Warning(_) => AnnotationType::Warning,
|
||||
Level::Note | Level::OnceNote => AnnotationType::Note,
|
||||
Level::Help => AnnotationType::Help,
|
||||
Level::Help | Level::OnceHelp => AnnotationType::Help,
|
||||
// FIXME(#59346): Not sure how to map this level
|
||||
Level::FailureNote => AnnotationType::Error,
|
||||
Level::Allow => panic!("Should not call with Allow"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue