diff options
Diffstat (limited to 'tests/ui/traits/issue-65673.stderr')
-rw-r--r-- | tests/ui/traits/issue-65673.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/traits/issue-65673.stderr b/tests/ui/traits/issue-65673.stderr new file mode 100644 index 000000000..8f01d7c53 --- /dev/null +++ b/tests/ui/traits/issue-65673.stderr @@ -0,0 +1,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`. |