diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-13 16:59:55 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-15 06:34:36 +0000 |
| commit | dc0cdfd75348ab39cf84448ff575d1b136f8a9bd (patch) | |
| tree | 0264e16a9947be8bc27216e8ed2a9e60bfd42441 /compiler/rustc_lint/src | |
| parent | 282865097d138c7f0f7a7566db5b761312dd145c (diff) | |
| download | rust-dc0cdfd75348ab39cf84448ff575d1b136f8a9bd.tar.gz rust-dc0cdfd75348ab39cf84448ff575d1b136f8a9bd.zip | |
Squash fold into ty
Diffstat (limited to 'compiler/rustc_lint/src')
| -rw-r--r-- | compiler/rustc_lint/src/opaque_hidden_inferred_bound.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/opaque_hidden_inferred_bound.rs b/compiler/rustc_lint/src/opaque_hidden_inferred_bound.rs index 659f6d98f03..f836094191e 100644 --- a/compiler/rustc_lint/src/opaque_hidden_inferred_bound.rs +++ b/compiler/rustc_lint/src/opaque_hidden_inferred_bound.rs @@ -1,9 +1,8 @@ use rustc_hir::{self as hir, AmbigArg}; use rustc_infer::infer::TyCtxtInferExt; use rustc_macros::{LintDiagnostic, Subdiagnostic}; -use rustc_middle::ty::fold::BottomUpFolder; use rustc_middle::ty::print::{PrintTraitPredicateExt as _, TraitPredPrintModifiersAndPath}; -use rustc_middle::ty::{self, Ty, TypeFoldable}; +use rustc_middle::ty::{self, BottomUpFolder, Ty, TypeFoldable}; use rustc_session::{declare_lint, declare_lint_pass}; use rustc_span::{Span, kw}; use rustc_trait_selection::traits::{self, ObligationCtxt}; |
