]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0404.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[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