diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-01 15:00:02 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-03 09:27:52 -0400 |
| commit | 94a524ed1163f4876544366586dc1b87deb13e95 (patch) | |
| tree | 20295042546ef296ddfbee4d500aebec8c2b78a5 /compiler/rustc_trait_selection/src/regions.rs | |
| parent | eb0a70a5578be0ae164cb802898ea98d41e95f13 (diff) | |
| download | rust-94a524ed1163f4876544366586dc1b87deb13e95.tar.gz rust-94a524ed1163f4876544366586dc1b87deb13e95.zip | |
Use ScrubbedTraitError in more places
Diffstat (limited to 'compiler/rustc_trait_selection/src/regions.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/regions.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_trait_selection/src/regions.rs b/compiler/rustc_trait_selection/src/regions.rs index cca5bce03e1..3ef3f9ef358 100644 --- a/compiler/rustc_trait_selection/src/regions.rs +++ b/compiler/rustc_trait_selection/src/regions.rs @@ -1,4 +1,4 @@ -use crate::traits::FulfillmentError; +use crate::traits::ScrubbedTraitError; use rustc_infer::infer::outlives::env::OutlivesEnvironment; use rustc_infer::infer::{InferCtxt, RegionResolutionError}; use rustc_macros::extension; @@ -28,8 +28,7 @@ impl<'tcx> InferCtxt<'tcx> { ), ty, ) - // TODO: - .map_err(|_: Vec<FulfillmentError<'tcx>>| NoSolution) + .map_err(|_: Vec<ScrubbedTraitError>| NoSolution) } else { Ok(ty) } |
