File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
tests/ui/type-alias-impl-trait Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change
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
+
1
9
error[E0308]: mismatched types
2
10
--> $DIR/nested-in-anon-const.rs:12:17
3
11
|
7
15
LL | | },
8
16
| |_________________^ expected `usize`, found `()`
9
17
10
- error: unconstrained opaque type
11
- --> $DIR/nested-in-anon-const.rs:13:33
12
- |
13
- LL | type B<Z> = impl Sized;
14
- | ^^^^^^^^^^
15
- |
16
- = note: `B` must be used in combination with a concrete type within the same item
17
-
18
18
error: aborting due to 2 previous errors
19
19
20
20
For more information about this error, try `rustc --explain E0308`.
You can’t perform that action at this time.
0 commit comments