rust/tests/ui/coherence/auxiliary/coherence_copy_like_lib.rs

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);