diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-02 18:36:11 -0400 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-03 09:27:52 -0400 | 
| commit | 1e72c7f536bbdf3ed8a0071d28824c071c3722b5 (patch) | |
| tree | e00c28b15e9244c6150fa5cb96e8a00d068d6c59 /compiler/rustc_trait_selection/src/regions.rs | |
| parent | 27f5eccd1f433c9455d1a0d3e402c1fa2a2ce334 (diff) | |
| download | rust-1e72c7f536bbdf3ed8a0071d28824c071c3722b5.tar.gz rust-1e72c7f536bbdf3ed8a0071d28824c071c3722b5.zip | |
Add cycle errors to ScrubbedTraitError to remove a couple more calls to new_with_diagnostics
Diffstat (limited to 'compiler/rustc_trait_selection/src/regions.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/regions.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_trait_selection/src/regions.rs b/compiler/rustc_trait_selection/src/regions.rs index 3ef3f9ef358..5f986e22f51 100644 --- a/compiler/rustc_trait_selection/src/regions.rs +++ b/compiler/rustc_trait_selection/src/regions.rs @@ -28,7 +28,7 @@ impl<'tcx> InferCtxt<'tcx> { ), ty, ) - .map_err(|_: Vec<ScrubbedTraitError>| NoSolution) + .map_err(|_: Vec<ScrubbedTraitError<'tcx>>| NoSolution) } else { Ok(ty) } | 
