2022-05-04 20:47:09 +00:00
|
|
|
error[E0224]: at least one trait is required for an object type
|
2021-12-11 02:20:41 +00:00
|
|
|
--> $DIR/issue-65673.rs:9:16
|
2019-11-14 00:06:28 +00:00
|
|
|
|
|
2022-05-09 17:03:37 +00:00
|
|
|
LL | trait Alias<T> = where T: Trait;
|
2022-02-13 15:27:59 +00:00
|
|
|
| -------------- this alias does not contain a trait
|
2022-05-09 17:03:37 +00:00
|
|
|
...
|
2019-11-14 00:06:28 +00:00
|
|
|
LL | type Ctx = dyn Alias<T>;
|
2022-05-04 20:47:09 +00:00
|
|
|
| ^^^^^^^^^^^^
|
2019-11-14 00:06:28 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2019-11-14 00:06:28 +00:00
|
|
|
|
2022-05-04 20:47:09 +00:00
|
|
|
For more information about this error, try `rustc --explain E0224`.
|