Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 264 Bytes

File metadata and controls

15 lines (10 loc) · 264 Bytes

A trait object was declaired with no traits.

Erroneous code example:

type Foo = dyn 'static +;

Rust does not currently support this.

To solve ensure the the trait object has at least one trait:

type Foo = dyn 'static + Copy;