Remove module passes filtering
This commit is contained in:
parent
71b4d108c7
commit
637d5cc56f
16 changed files with 109 additions and 212 deletions
|
@ -12,6 +12,8 @@ use rustc_span::edition::Edition;
|
|||
use crate::{FutureIncompatibilityReason, declare_lint, declare_lint_pass};
|
||||
|
||||
declare_lint_pass! {
|
||||
/// Does nothing as a lint pass, but registers some `Lint`s
|
||||
/// that are used by other parts of the compiler.
|
||||
HardwiredLints => [
|
||||
// tidy-alphabetical-start
|
||||
ABSOLUTE_PATHS_NOT_STARTING_WITH_CRATE,
|
||||
|
@ -377,7 +379,7 @@ declare_lint! {
|
|||
pub ARITHMETIC_OVERFLOW,
|
||||
Deny,
|
||||
"arithmetic operation overflows",
|
||||
[loadbearing: true]
|
||||
@eval_always = true
|
||||
}
|
||||
|
||||
declare_lint! {
|
||||
|
@ -402,7 +404,7 @@ declare_lint! {
|
|||
pub UNCONDITIONAL_PANIC,
|
||||
Deny,
|
||||
"operation will cause a panic at runtime",
|
||||
[loadbearing: true]
|
||||
@eval_always = true
|
||||
}
|
||||
|
||||
declare_lint! {
|
||||
|
@ -634,7 +636,7 @@ declare_lint! {
|
|||
pub UNKNOWN_LINTS,
|
||||
Warn,
|
||||
"unrecognized lint attribute",
|
||||
[loadbearing: true]
|
||||
@eval_always = true
|
||||
}
|
||||
|
||||
declare_lint! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue