error[E0224]: at least one trait is required for an object type --> $DIR/issue-79467.rs:4:5 | LL | dyn 'static: 'static + Copy, | ^^^^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0224`.