1 2 3 4 5 6 7 8 9 10 11 12 13
#![crate_name = "inner"] pub struct SomeStruct; fn asdf() { const _FOO: () = { impl Clone for SomeStruct { fn clone(&self) -> Self { SomeStruct } } }; }