rust/tests/ui/traits/issue-65673.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
373 B
Plaintext
Raw Normal View History

error[E0224]: at least one trait is required for an object type
--> $DIR/issue-65673.rs:9:16
|
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
...
LL | type Ctx = dyn Alias<T>;
| ^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0224`.