]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0404.rs
Add 'compiler/rustc_smir/' from commit '9abcb5c7b574cf316eb23d3f469187bb86ba3019'
[rust.git] / src / test / ui / error-codes / E0404.rs
1 struct Foo;
2 struct Bar;
3
4 impl Foo for Bar {} //~ ERROR E0404
5
6 fn main() {}
7
8 fn baz<T: Foo>(_: T) {} //~ ERROR E0404