We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dfdeab commit eeaea57Copy full SHA for eeaea57
tests/ui/type-alias-impl-trait/nested-in-anon-const.stderr
@@ -1,3 +1,11 @@
1
+error: unconstrained opaque type
2
+ --> $DIR/nested-in-anon-const.rs:13:33
3
+ |
4
+LL | type B<Z> = impl Sized;
5
+ | ^^^^^^^^^^
6
7
+ = note: `B` must be used in combination with a concrete type within the same item
8
+
9
error[E0308]: mismatched types
10
--> $DIR/nested-in-anon-const.rs:12:17
11
|
@@ -7,14 +15,6 @@ LL | |
15
LL | | },
16
| |_________________^ expected `usize`, found `()`
17
-error: unconstrained opaque type
- --> $DIR/nested-in-anon-const.rs:13:33
12
- |
13
-LL | type B<Z> = impl Sized;
14
- | ^^^^^^^^^^
- = note: `B` must be used in combination with a concrete type within the same item
-
18
error: aborting due to 2 previous errors
19
20
For more information about this error, try `rustc --explain E0308`.
0 commit comments