Skip to content

Commit af7fb79

Browse files
committed
one must imagine tidy happy
1 parent 46d6517 commit af7fb79

5 files changed

+10
-11
lines changed

src/tools/tidy/src/issues.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,6 @@
11071107
"ui/generic-associated-types/issue-92954.rs",
11081108
"ui/generic-associated-types/issue-93141.rs",
11091109
"ui/generic-associated-types/issue-93262.rs",
1110-
"ui/generic-associated-types/issue-93340.rs",
11111110
"ui/generic-associated-types/issue-93341.rs",
11121111
"ui/generic-associated-types/issue-93342.rs",
11131112
"ui/generic-associated-types/issue-93874.rs",

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
error[E0283]: type annotations needed
2-
--> $DIR/issue-93340-1.rs:16:5
2+
--> $DIR/ambig-hr-projection-issue-93340.rs:16:5
33
|
44
LL | cmp_eq
55
| ^^^^^^ cannot infer type of the type parameter `A` declared on the function `cmp_eq`
66
|
77
= note: cannot satisfy `_: Scalar`
88
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
1010
|
1111
LL | fn cmp_eq<'a, 'b, A: Scalar, B: Scalar, O: Scalar>(a: A::RefType<'a>, b: B::RefType<'b>) -> O {
1212
| ^^^^^^ required by this bound in `cmp_eq`
@@ -16,24 +16,24 @@ LL | cmp_eq::<A, B, O>
1616
| +++++++++++
1717

1818
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
2020
|
2121
LL | cmp_eq
2222
| ^^^^^^
2323
|
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`)
2525

2626
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
2828
|
2929
LL | cmp_eq
3030
| ^^^^^^
3131
|
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`)
3333
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
3434

3535
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
3737
|
3838
LL | ) -> impl Fn(A::RefType<'_>, B::RefType<'_>) -> O {
3939
| ___________________________________________________^
@@ -45,7 +45,7 @@ LL | |
4545
LL | | }
4646
| |_^
4747
|
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`)
4949

5050
error: aborting due to 4 previous errors
5151

tests/ui/generic-associated-types/issue-93340-1.old.stderr renamed to tests/ui/generic-associated-types/ambig-hr-projection-issue-93340.old.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
error[E0283]: type annotations needed
2-
--> $DIR/issue-93340-1.rs:16:5
2+
--> $DIR/ambig-hr-projection-issue-93340.rs:16:5
33
|
44
LL | cmp_eq
55
| ^^^^^^ cannot infer type of the type parameter `A` declared on the function `cmp_eq`
66
|
77
= note: cannot satisfy `_: Scalar`
88
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
1010
|
1111
LL | fn cmp_eq<'a, 'b, A: Scalar, B: Scalar, O: Scalar>(a: A::RefType<'a>, b: B::RefType<'b>) -> O {
1212
| ^^^^^^ required by this bound in `cmp_eq`

0 commit comments

Comments
 (0)