diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-10-28 10:18:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-28 10:18:50 -0700 |
| commit | d6be363400ce8041808cd1aee6e77db49079cd25 (patch) | |
| tree | 8419bfe86ce34badb670970d3ee6959a2a0cbbe9 /compiler/rustc_lint/src/context.rs | |
| parent | e20026cac087d7ee5be310957168fffbd6994c99 (diff) | |
| parent | 3f73fe7db42dc716aefd581717e86de5f9eaa44d (diff) | |
| download | rust-d6be363400ce8041808cd1aee6e77db49079cd25.tar.gz rust-d6be363400ce8041808cd1aee6e77db49079cd25.zip | |
Rollup merge of #132249 - workingjubilee:add-rustc-abi, r=compiler-errors
compiler: Add rustc_abi dependence to the compiler Depend on rustc_abi in compiler crates that use it indirectly but have not yet taken on that dependency, and are not *significantly* entangled in my other PRs. This leaves an "excise rustc_target" step after the dust settles.
Diffstat (limited to 'compiler/rustc_lint/src/context.rs')
| -rw-r--r-- | compiler/rustc_lint/src/context.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/context.rs b/compiler/rustc_lint/src/context.rs index 4af1fd1baf9..699088914e8 100644 --- a/compiler/rustc_lint/src/context.rs +++ b/compiler/rustc_lint/src/context.rs @@ -11,7 +11,6 @@ use rustc_data_structures::sync; use rustc_data_structures::unord::UnordMap; use rustc_errors::{Diag, LintDiagnostic, MultiSpan}; use rustc_feature::Features; -use rustc_hir as hir; use rustc_hir::def::Res; use rustc_hir::def_id::{CrateNum, DefId}; use rustc_hir::definitions::{DefPathData, DisambiguatedDefPathData}; @@ -27,8 +26,8 @@ use rustc_session::{LintStoreMarker, Session}; use rustc_span::Span; use rustc_span::edit_distance::find_best_match_for_names; use rustc_span::symbol::{Ident, Symbol, sym}; -use rustc_target::abi; use tracing::debug; +use {rustc_abi as abi, rustc_hir as hir}; use self::TargetLint::*; use crate::levels::LintLevelsBuilder; |
