Remove extern crate rustc_session from rustc_lint.

This commit is contained in:
Nicholas Nethercote 2024-04-29 13:42:13 +10:00
parent 6ce258f657
commit e6b3e20243
28 changed files with 27 additions and 2 deletions

View file

@ -1,6 +1,7 @@
use crate::{LateContext, LateLintPass, LintContext};
use rustc_hir as hir;
use rustc_session::{declare_lint, declare_lint_pass};
use rustc_span::sym;
declare_lint! {