Skip to content

Commit 1693993

Browse files
committed
cleanup: commented lints
1 parent 257cf03 commit 1693993

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

compiler/rustc_lint/src/builtin.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// #![deny(rustc::diagnostic_outside_of_impl)]
2-
// #![deny(rustc::untranslatable_diagnostic)]
3-
//
41
//! Lints in the Rust compiler.
52
//!
63
//! This contains lints which can feasibly be implemented as their own

compiler/rustc_lint/src/context.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// #![deny(rustc::diagnostic_outside_of_impl)]
2-
// #![deny(rustc::untranslatable_diagnostic)]
3-
//
41
//! Implementation of lint checking.
52
//!
63
//! The lint checking is mostly consolidated into one pass which runs

compiler/rustc_lint/src/levels.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// #![deny(rustc::diagnostic_outside_of_impl)]
2-
// #![deny(rustc::untranslatable_diagnostic)]
3-
//
41
use crate::context::{CheckLintNameResult, LintStore};
52
use crate::late::unerased_lint_store;
63
use rustc_ast as ast;

compiler/rustc_lint/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
#![feature(let_else)]
3737
#![feature(never_type)]
3838
#![recursion_limit = "256"]
39-
// #![deny(rustc::diagnostic_outside_of_impl)]
40-
// #![deny(rustc::untranslatable_diagnostic)]
4139

4240
#[macro_use]
4341
extern crate rustc_middle;

0 commit comments

Comments
 (0)