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

@ -4,6 +4,7 @@ use crate::LateLintPass;
use crate::LintContext;
use rustc_hir::{Expr, ExprKind};
use rustc_middle::ty;
use rustc_session::{declare_lint, declare_lint_pass};
use rustc_span::{symbol::sym, Span};
declare_lint! {