rust/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs
2023-01-11 09:32:08 +00:00

11 lines
177 B
Rust

#![crate_type = "rlib"]
#![feature(fundamental)]
pub trait MyCopy { }
impl MyCopy for i32 { }
pub struct MyStruct<T>(T);
#[fundamental]
pub struct MyFundamentalStruct<T>(T);