1
Fork 0
rust/tests/ui/rfcs/rfc-2632-const-trait-impl/const-trait-bounds-trait-objects.stderr

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

9 lines
230 B
Text
Raw Normal View History

error: const trait bounds are not allowed in trait object types
--> $DIR/const-trait-bounds-trait-objects.rs:8:17
|
LL | let _: &dyn const Trait;
| ^^^^^^^^^^^
error: aborting due to 1 previous error