diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-21 15:20:41 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-07-21 22:34:35 -0400 |
| commit | ce8a625092fa48c2be475f659aa2a91b5591108f (patch) | |
| tree | 00970ec2be7f2197edb9a9ab419d5fe94eb266d6 /compiler/rustc_const_eval/src/check_consts/check.rs | |
| parent | f49738ba6c904b75de8b342d4a4fb9664819b2a1 (diff) | |
| download | rust-ce8a625092fa48c2be475f659aa2a91b5591108f.tar.gz rust-ce8a625092fa48c2be475f659aa2a91b5591108f.zip | |
Move all error reporting into rustc_trait_selection
Diffstat (limited to 'compiler/rustc_const_eval/src/check_consts/check.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/check_consts/check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/check_consts/check.rs b/compiler/rustc_const_eval/src/check_consts/check.rs index 523d55fe2d0..8700ec4c210 100644 --- a/compiler/rustc_const_eval/src/check_consts/check.rs +++ b/compiler/rustc_const_eval/src/check_consts/check.rs @@ -13,7 +13,7 @@ use rustc_middle::ty::{self, adjustment::PointerCoercion, Ty, TyCtxt}; use rustc_middle::ty::{Instance, InstanceKind, TypeVisitableExt}; use rustc_mir_dataflow::Analysis; use rustc_span::{sym, Span, Symbol, DUMMY_SP}; -use rustc_trait_selection::error_reporting::traits::TypeErrCtxtExt as _; +use rustc_trait_selection::error_reporting::InferCtxtErrorExt; use rustc_trait_selection::traits::{self, ObligationCauseCode, ObligationCtxt}; use rustc_type_ir::visit::{TypeSuperVisitable, TypeVisitor}; |
