diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-10 14:59:56 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-05-10 15:44:03 -0400 |
| commit | 1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5 (patch) | |
| tree | 66e59847ede6d7076aeed46190bde0711807c7af /compiler/rustc_trait_selection/src/errors.rs | |
| parent | 5e606c0bde35564df43a82d7c6ae32ad700c009c (diff) | |
| download | rust-1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5.tar.gz rust-1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5.zip | |
Lift `TraitRef` into `rustc_type_ir`
Diffstat (limited to 'compiler/rustc_trait_selection/src/errors.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/errors.rs b/compiler/rustc_trait_selection/src/errors.rs index 7228a9ba016..b442446f79b 100644 --- a/compiler/rustc_trait_selection/src/errors.rs +++ b/compiler/rustc_trait_selection/src/errors.rs @@ -4,7 +4,7 @@ use rustc_errors::{ SubdiagMessageOp, Subdiagnostic, }; use rustc_macros::{Diagnostic, Subdiagnostic}; -use rustc_middle::ty::{self, ClosureKind, PolyTraitRef, Ty}; +use rustc_middle::ty::{self, print::PrintTraitRefExt as _, ClosureKind, PolyTraitRef, Ty}; use rustc_span::{Span, Symbol}; #[derive(Diagnostic)] |
