diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-01 14:51:31 -0400 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-03 09:27:52 -0400 | 
| commit | eb0a70a5578be0ae164cb802898ea98d41e95f13 (patch) | |
| tree | 46f44c5a9e7c8a39a83a365d20612b30cede5b47 /compiler/rustc_trait_selection/src/solve/inspect/analyse.rs | |
| parent | 54b2b7d460fd0847508b781219d380231c4fee72 (diff) | |
| download | rust-eb0a70a5578be0ae164cb802898ea98d41e95f13.tar.gz rust-eb0a70a5578be0ae164cb802898ea98d41e95f13.zip | |
Opt-in diagnostics reporting to avoid doing extra work in the new solver
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve/inspect/analyse.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/solve/inspect/analyse.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs b/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs index 1f27978e5a6..dca14e20fb3 100644 --- a/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs +++ b/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs @@ -12,6 +12,7 @@ use rustc_ast_ir::try_visit; use rustc_ast_ir::visit::VisitorResult; use rustc_infer::infer::{DefineOpaqueTypes, InferCtxt, InferOk}; +use rustc_infer::traits::FulfillmentErrorLike as _; use rustc_macros::extension; use rustc_middle::traits::query::NoSolution; use rustc_middle::traits::solve::{inspect, QueryResult}; | 
