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

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

9 lines
116 B
Rust
Raw Normal View History

2016-08-15 11:58:28 +00:00
struct Foo;
struct Bar;
impl Foo for Bar {} //~ ERROR E0404
fn main() {}
fn baz<T: Foo>(_: T) {} //~ ERROR E0404