You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #153786 - Zoxc:rm-from-cycle-error-specs, r=nnethercote
Remove `value_from_cycle_error` specializations
This removes `value_from_cycle_error` specializations which are not involved in custom cycle error handling.
This is a step towards removing query cycle recovery.
Copy file name to clipboardExpand all lines: tests/ui/delegation/unsupported.current.stderr
+7-12Lines changed: 7 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -29,18 +29,13 @@ note: ...which requires comparing an impl and trait method signature, inferring
29
29
LL | reuse ToReuse::opaque_ret;
30
30
| ^^^^^^^^^^
31
31
= note: ...which again requires computing type of `opaque::<impl at $DIR/unsupported.rs:32:5: 32:25>::opaque_ret::{anon_assoc#0}`, completing the cycle
32
-
= note: cycle used when checking effective visibilities
33
-
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
34
-
35
-
error[E0283]: type annotations needed
36
-
--> $DIR/unsupported.rs:54:18
37
-
|
38
-
LL | reuse Trait::foo;
39
-
| ^^^ cannot infer type
32
+
note: cycle used when checking assoc item `opaque::<impl at $DIR/unsupported.rs:32:5: 32:25>::opaque_ret` is compatible with trait definition
33
+
--> $DIR/unsupported.rs:33:24
40
34
|
41
-
= note: cannot satisfy `_: effects::Trait`
35
+
LL | reuse ToReuse::opaque_ret;
36
+
| ^^^^^^^^^^
37
+
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
42
38
43
-
error: aborting due to 3 previous errors
39
+
error: aborting due to 2 previous errors
44
40
45
-
Some errors have detailed explanations: E0283, E0391.
46
-
For more information about an error, try `rustc --explain E0283`.
41
+
For more information about this error, try `rustc --explain E0391`.
Copy file name to clipboardExpand all lines: tests/ui/delegation/unsupported.next.stderr
+3-12Lines changed: 3 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -25,18 +25,9 @@ note: ...which requires comparing an impl and trait method signature, inferring
25
25
LL | reuse ToReuse::opaque_ret;
26
26
| ^^^^^^^^^^
27
27
= note: ...which again requires computing type of `opaque::<impl at $DIR/unsupported.rs:32:5: 32:25>::opaque_ret::{anon_assoc#0}`, completing the cycle
28
-
= note: cycle used when checking effective visibilities
28
+
= note: cycle used when computing implied outlives bounds for `<u16 as opaque::ToReuse>::opaque_ret::{anon_assoc#0}` (hack disabled = false)
29
29
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
30
30
31
-
error[E0283]: type annotations needed
32
-
--> $DIR/unsupported.rs:54:18
33
-
|
34
-
LL | reuse Trait::foo;
35
-
| ^^^ cannot infer type
36
-
|
37
-
= note: cannot satisfy `_: effects::Trait`
38
-
39
-
error: aborting due to 3 previous errors
31
+
error: aborting due to 2 previous errors
40
32
41
-
Some errors have detailed explanations: E0283, E0391.
42
-
For more information about an error, try `rustc --explain E0283`.
33
+
For more information about this error, try `rustc --explain E0391`.
= note: ...which again requires computing type of `<impl at $DIR/method-compatability-via-leakage-cycle.rs:17:1: 17:19>::foo::{anon_assoc#0}`, completing the cycle
112
-
note: cycle used when checking assoc item `<impl at $DIR/method-compatability-via-leakage-cycle.rs:17:1: 17:19>::foo` is compatible with trait definition
0 commit comments