diff options
| author | fee1-dead <ent3rm4n@gmail.com> | 2023-04-16 18:55:39 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-16 18:55:39 +0800 |
| commit | 7fb14ae84d927c54bcfea57f03ba38fd86326cb0 (patch) | |
| tree | 4eec0181a4bbd6032f7319ebf250d2a05c2b2849 /compiler/rustc_hir_analysis/src | |
| parent | eba419195c7eea19df4366e07ddf074fe54dd00e (diff) | |
| parent | ee8f92ba0a3f1ceb74a9474f61761b3e3e3e5ac5 (diff) | |
| download | rust-7fb14ae84d927c54bcfea57f03ba38fd86326cb0.tar.gz rust-7fb14ae84d927c54bcfea57f03ba38fd86326cb0.zip | |
Rollup merge of #110396 - Nilstrieb:speedy-bootstrap, r=jyn514
Use lint via `lint_defs` instead of `lints` This gets rid of a blocking dependency edge from `rustc_lint->rustc_analysis->rustc_hir_typeck->rustc_interface` 
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/check.rs b/compiler/rustc_hir_analysis/src/check/check.rs index 0bb98fdf2a2..0c54fd70c9b 100644 --- a/compiler/rustc_hir_analysis/src/check/check.rs +++ b/compiler/rustc_hir_analysis/src/check/check.rs @@ -15,7 +15,7 @@ use rustc_infer::infer::opaque_types::ConstrainOpaqueTypeRegionVisitor; use rustc_infer::infer::outlives::env::OutlivesEnvironment; use rustc_infer::infer::{DefiningAnchor, RegionVariableOrigin, TyCtxtInferExt}; use rustc_infer::traits::{Obligation, TraitEngineExt as _}; -use rustc_lint::builtin::REPR_TRANSPARENT_EXTERNAL_PRIVATE_FIELDS; +use rustc_lint_defs::builtin::REPR_TRANSPARENT_EXTERNAL_PRIVATE_FIELDS; use rustc_middle::hir::nested_filter; use rustc_middle::middle::stability::EvalResult; use rustc_middle::ty::layout::{LayoutError, MAX_SIMD_LANES}; |
