1
1
error[E0283]: type annotations needed
2
- --> $DIR/issue-93340-1 .rs:16:5
2
+ --> $DIR/ambig-hr-projection- issue-93340.rs:16:5
3
3
|
4
4
LL | cmp_eq
5
5
| ^^^^^^ cannot infer type of the type parameter `A` declared on the function `cmp_eq`
6
6
|
7
7
= note: cannot satisfy `_: Scalar`
8
8
note: required by a bound in `cmp_eq`
9
- --> $DIR/issue-93340-1 .rs:9:22
9
+ --> $DIR/ambig-hr-projection- issue-93340.rs:9:22
10
10
|
11
11
LL | fn cmp_eq<'a, 'b, A: Scalar, B: Scalar, O: Scalar>(a: A::RefType<'a>, b: B::RefType<'b>) -> O {
12
12
| ^^^^^^ required by this bound in `cmp_eq`
@@ -16,24 +16,24 @@ LL | cmp_eq::<A, B, O>
16
16
| +++++++++++
17
17
18
18
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::<..., ..., ...>}`
19
- --> $DIR/issue-93340-1 .rs:16:5
19
+ --> $DIR/ambig-hr-projection- issue-93340.rs:16:5
20
20
|
21
21
LL | cmp_eq
22
22
| ^^^^^^
23
23
|
24
- = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_93340_1 `)
24
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`ambig_hr_projection_issue_93340 `)
25
25
26
26
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::<..., ..., ...>}`
27
- --> $DIR/issue-93340-1 .rs:16:5
27
+ --> $DIR/ambig-hr-projection- issue-93340.rs:16:5
28
28
|
29
29
LL | cmp_eq
30
30
| ^^^^^^
31
31
|
32
- = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_93340_1 `)
32
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`ambig_hr_projection_issue_93340 `)
33
33
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
34
34
35
35
error[E0275]: overflow evaluating the requirement `for<'a, 'b> fn(<O as Scalar>::RefType<'a>, <_ as Scalar>::RefType<'b>) -> _ {cmp_eq::<O, ..., ...>} <: ...`
36
- --> $DIR/issue-93340-1 .rs:14:51
36
+ --> $DIR/ambig-hr-projection- issue-93340.rs:14:51
37
37
|
38
38
LL | ) -> impl Fn(A::RefType<'_>, B::RefType<'_>) -> O {
39
39
| ___________________________________________________^
45
45
LL | | }
46
46
| |_^
47
47
|
48
- = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_93340_1 `)
48
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`ambig_hr_projection_issue_93340 `)
49
49
50
50
error: aborting due to 4 previous errors
51
51
0 commit comments