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+
19error[E0308]: mismatched types
210 --> $DIR/nested-in-anon-const.rs:12:17
311 |
715LL | | },
816 | |_________________^ expected `usize`, found `()`
917
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-
1818error: aborting due to 2 previous errors
1919
2020For more information about this error, try `rustc --explain E0308`.
You can’t perform that action at this time.
0 commit comments