rust/src/test/ui/derives/deriving-bounds.rs

10 lines
202 B
Rust
Raw Normal View History

#[derive(Send)]
//~^ ERROR this unsafe trait should be implemented explicitly
struct Test;
#[derive(Sync)]
//~^ ERROR this unsafe trait should be implemented explicitly
2014-12-23 03:57:44 -06:00
struct Test1;
pub fn main() {}