1 The `Copy` trait was implemented on a type which is neither a struct nor an
4 Erroneous code example:
8 impl Copy for Foo { } // error!
10 #[derive(Copy, Clone)]
13 impl Copy for &'static mut Bar { } // error!
16 You can only implement `Copy` for a struct or an enum. Both of the previous
17 examples will fail, because neither `[u8; 256]` nor `&'static mut Bar`
18 (mutable reference to `Bar`) is a struct or enum.