diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-08 15:36:57 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-07-08 16:04:47 -0400 |
| commit | fe4c995ccb292f5b8fdaba0bfc5f58c6ee8e7fed (patch) | |
| tree | 58a814d933c61035f9b8d9961d749110b8bd0465 /compiler/rustc_const_eval/src | |
| parent | a06e9c83f6bc6b9b69f1b0d9f1ab659f8f03db4d (diff) | |
| download | rust-fe4c995ccb292f5b8fdaba0bfc5f58c6ee8e7fed.tar.gz rust-fe4c995ccb292f5b8fdaba0bfc5f58c6ee8e7fed.zip | |
Move trait selection error reporting to its own top-level module
Diffstat (limited to 'compiler/rustc_const_eval/src')
| -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 412effba32d..523d55fe2d0 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::traits::error_reporting::TypeErrCtxtExt as _; +use rustc_trait_selection::error_reporting::traits::TypeErrCtxtExt as _; use rustc_trait_selection::traits::{self, ObligationCauseCode, ObligationCtxt}; use rustc_type_ir::visit::{TypeSuperVisitable, TypeVisitor}; |
