rust/tests/ui/error-codes/E0200.rs

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

9 lines
87 B
Rust
Raw Normal View History

2016-06-01 22:30:13 +08:00
struct Foo;
unsafe trait Bar { }
impl Bar for Foo { } //~ ERROR E0200
fn main() {
}