2019-06-21 09:12:07 -05:00
|
|
|
error[E0224]: at least one trait is required for an object type
|
2021-02-08 16:15:45 -06:00
|
|
|
--> $DIR/only-maybe-bound.rs:13:12
|
2019-03-30 17:06:09 -05:00
|
|
|
|
|
2022-05-09 12:03:37 -05:00
|
|
|
LL | trait _1 = _0;
|
2022-02-13 09:27:59 -06:00
|
|
|
| -------- this alias does not contain a trait
|
2022-05-09 12:03:37 -05:00
|
|
|
...
|
2019-03-30 17:06:09 -05:00
|
|
|
LL | type _T0 = dyn _1;
|
|
|
|
| ^^^^^^
|
|
|
|
|
2019-06-21 09:12:07 -05:00
|
|
|
error[E0224]: at least one trait is required for an object type
|
2021-02-08 16:15:45 -06:00
|
|
|
--> $DIR/only-maybe-bound.rs:19:12
|
2019-03-30 17:06:09 -05:00
|
|
|
|
|
2022-05-09 12:03:37 -05:00
|
|
|
LL | trait _2 = _1 + _1;
|
2022-02-13 09:27:59 -06:00
|
|
|
| -------- this alias does not contain a trait
|
2022-06-08 13:07:59 -05:00
|
|
|
LL |
|
2019-05-02 12:03:29 -05:00
|
|
|
LL | type _T1 = dyn _2;
|
2019-03-30 17:06:09 -05:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2020-03-21 10:43:12 -05:00
|
|
|
For more information about this error, try `rustc --explain E0224`.
|