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