rust/tests/ui/issues/issue-27340.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
131 B
Rust
Raw Normal View History

2016-02-28 05:25:26 -06:00
struct Foo;
#[derive(Copy, Clone)]
2016-08-07 02:53:32 -05:00
//~^ ERROR the trait `Copy` may not be implemented for this type
2016-02-28 05:25:26 -06:00
struct Bar(Foo);
fn main() {}