Skip to content

Commit 650afe8

Browse files
committed
rebase
1 parent af7fb79 commit 650afe8

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

compiler/rustc_trait_selection/src/traits/select/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use rustc_middle::ty::_match::MatchAgainstFreshVars;
4343
use rustc_middle::ty::abstract_const::NotConstEvaluatable;
4444
use rustc_middle::ty::relate::TypeRelation;
4545
use rustc_middle::ty::GenericArgsRef;
46-
use rustc_middle::ty::{self, PolyProjectionPredicate, ToPolyTraitRef, ToPredicate};
46+
use rustc_middle::ty::{self, PolyProjectionPredicate, ToPredicate};
4747
use rustc_middle::ty::{Ty, TyCtxt, TypeFoldable, TypeVisitableExt};
4848
use rustc_span::symbol::sym;
4949
use rustc_span::Symbol;

tests/ui/generic-associated-types/ambig-hr-projection-issue-93340.next.stderr

-5
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,13 @@ error[E0275]: overflow evaluating the requirement `impl for<'a, 'b> Fn(<A as Sca
2020
|
2121
LL | cmp_eq
2222
| ^^^^^^
23-
|
24-
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`ambig_hr_projection_issue_93340`)
2523

2624
error[E0275]: overflow evaluating the requirement `impl for<'a, 'b> Fn(<A as Scalar>::RefType<'a>, <B as Scalar>::RefType<'b>) -> O == for<'a, 'b> fn(..., ...) -> ... {cmp_eq::<..., ..., ...>}`
2725
--> $DIR/ambig-hr-projection-issue-93340.rs:16:5
2826
|
2927
LL | cmp_eq
3028
| ^^^^^^
3129
|
32-
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`ambig_hr_projection_issue_93340`)
3330
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
3431

3532
error[E0275]: overflow evaluating the requirement `for<'a, 'b> fn(<O as Scalar>::RefType<'a>, <_ as Scalar>::RefType<'b>) -> _ {cmp_eq::<O, ..., ...>} <: ...`
@@ -44,8 +41,6 @@ LL | |
4441
LL | |
4542
LL | | }
4643
| |_^
47-
|
48-
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`ambig_hr_projection_issue_93340`)
4944

5045
error: aborting due to 4 previous errors
5146

0 commit comments

Comments
 (0)