Skip to content

Commit e518d66

Browse files
committed
Apply review comments + use shallow_lint_levels_on
1 parent e427a4e commit e518d66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/ctfe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use rustc_session::declare_lint_pass;
77
use rustc_span::Span;
88

99
/// Ensures that Constant-time Function Evaluation is being done (specifically, MIR lint passes).
10-
/// See rust-lang/rust#125116 for more info.
10+
/// As Clippy deactivates codegen, this lint ensures that CTFE (used in hard errors) is still ran.
1111
#[clippy::version = "1.82.0"]
1212
pub static CLIPPY_CTFE: &Lint = &Lint {
1313
name: &"clippy::CLIPPY_CTFE",

clippy_lints/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ extern crate clippy_utils;
6565
#[cfg_attr(feature = "internal", allow(clippy::missing_clippy_version_attribute))]
6666
mod utils;
6767

68-
pub mod ctfe; // Very important lint (rust#125116)
68+
pub mod ctfe; // Very important lint, do not remove (rust#125116)
6969
pub mod declared_lints;
7070
pub mod deprecated_lints;
7171

0 commit comments

Comments
 (0)