Skip to content

Commit

Permalink
cleanup: commented lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Rejyr committed Aug 23, 2022
1 parent 257cf03 commit 1693993
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions compiler/rustc_lint/src/builtin.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// #![deny(rustc::diagnostic_outside_of_impl)]
// #![deny(rustc::untranslatable_diagnostic)]
//
//! Lints in the Rust compiler.
//!
//! This contains lints which can feasibly be implemented as their own
Expand Down
3 changes: 0 additions & 3 deletions compiler/rustc_lint/src/context.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// #![deny(rustc::diagnostic_outside_of_impl)]
// #![deny(rustc::untranslatable_diagnostic)]
//
//! Implementation of lint checking.
//!
//! The lint checking is mostly consolidated into one pass which runs
Expand Down
3 changes: 0 additions & 3 deletions compiler/rustc_lint/src/levels.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// #![deny(rustc::diagnostic_outside_of_impl)]
// #![deny(rustc::untranslatable_diagnostic)]
//
use crate::context::{CheckLintNameResult, LintStore};
use crate::late::unerased_lint_store;
use rustc_ast as ast;
Expand Down
2 changes: 0 additions & 2 deletions compiler/rustc_lint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
#![feature(let_else)]
#![feature(never_type)]
#![recursion_limit = "256"]
// #![deny(rustc::diagnostic_outside_of_impl)]
// #![deny(rustc::untranslatable_diagnostic)]

#[macro_use]
extern crate rustc_middle;
Expand Down

0 comments on commit 1693993

Please sign in to comment.