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
Copy file name to clipboardExpand all lines: tests/ui/consts/issue-103790.stderr
+1-13Lines changed: 1 addition & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,7 @@ LL | struct S<const S: (), const S: S = { S }>;
36
36
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37
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
38
38
39
-
error: `()` is forbidden as the type of a const generic parameter
40
-
--> $DIR/issue-103790.rs:4:19
41
-
|
42
-
LL | struct S<const S: (), const S: S = { S }>;
43
-
| ^^
44
-
|
45
-
= note: the only supported types are integers, `bool`, and `char`
46
-
help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types
47
-
|
48
-
LL + #![feature(adt_const_params)]
49
-
|
50
-
51
-
error: aborting due to 4 previous errors
39
+
error: aborting due to 3 previous errors
52
40
53
41
Some errors have detailed explanations: E0107, E0391, E0403.
54
42
For more information about an error, try `rustc --explain E0107`.
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: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
59
59
60
-
error[E0391]: cycle detected when computing type of `<impl at $DIR/method-compatability-via-leakage-cycle.rs:17:1: 17:19>::foo::{anon_assoc#0}`
= 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
= 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
118
-
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
119
-
120
-
error: aborting due to 2 previous errors
60
+
error: aborting due to 1 previous error
121
61
122
62
For more information about this error, try `rustc --explain E0391`.
= 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
0 commit comments