1 #![allow(bare_trait_objects)]
9 impl NotObjectSafe for A {
15 impl NotObjectSafe for B {
21 fn car() -> dyn NotObjectSafe { //~ ERROR the trait `NotObjectSafe` cannot be made into an object
28 fn cat() -> Box<dyn NotObjectSafe> { //~ ERROR the trait `NotObjectSafe` cannot be made into an