summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/issue-65673.stderr
blob: 8f01d7c53e7715c4197334d712438dc3ee861e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0224]: at least one trait is required for an object type
  --> $DIR/issue-65673.rs:9:16
   |
LL | trait Alias<T> = where T: Trait;
   | -------------- this alias does not contain a trait
...
LL |     type Ctx = dyn Alias<T>;
   |                ^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0224`.