mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +00:00
Apply review comments + use shallow_lint_levels_on
This commit is contained in:
parent
e427a4e694
commit
e518d66dc0
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ use rustc_session::declare_lint_pass;
|
|||
use rustc_span::Span;
|
||||
|
||||
/// Ensures that Constant-time Function Evaluation is being done (specifically, MIR lint passes).
|
||||
/// See rust-lang/rust#125116 for more info.
|
||||
/// As Clippy deactivates codegen, this lint ensures that CTFE (used in hard errors) is still ran.
|
||||
#[clippy::version = "1.82.0"]
|
||||
pub static CLIPPY_CTFE: &Lint = &Lint {
|
||||
name: &"clippy::CLIPPY_CTFE",
|
||||
|
|
|
@ -65,7 +65,7 @@ extern crate clippy_utils;
|
|||
#[cfg_attr(feature = "internal", allow(clippy::missing_clippy_version_attribute))]
|
||||
mod utils;
|
||||
|
||||
pub mod ctfe; // Very important lint (rust#125116)
|
||||
pub mod ctfe; // Very important lint, do not remove (rust#125116)
|
||||
pub mod declared_lints;
|
||||
pub mod deprecated_lints;
|
||||
|
||||
|
|
Loading…
Reference in a new issue