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_hir_analysis/src/check/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_hir_analysis/src/check/check.rs')
| -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 dbc265ad3ff..27db5418165 100644 --- a/compiler/rustc_hir_analysis/src/check/check.rs +++ b/compiler/rustc_hir_analysis/src/check/check.rs @@ -26,7 +26,7 @@ use rustc_middle::ty::{ use rustc_session::lint::builtin::{UNINHABITED_STATIC, UNSUPPORTED_CALLING_CONVENTIONS}; use rustc_target::abi::FieldIdx; use rustc_trait_selection::error_reporting::traits::on_unimplemented::OnUnimplementedDirective; -use rustc_trait_selection::error_reporting::traits::TypeErrCtxtExt as _; +use rustc_trait_selection::error_reporting::InferCtxtErrorExt; use rustc_trait_selection::traits; use rustc_trait_selection::traits::outlives_bounds::InferCtxtExt as _; use rustc_type_ir::fold::TypeFoldable; |
