summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0404.rs
blob: b17333724363b8ff46f9ae750a733f24daa1050a (plain)
1
2
3
4
5
6
7
8
struct Foo;
struct Bar;

impl Foo for Bar {} //~ ERROR E0404

fn main() {}

fn baz<T: Foo>(_: T) {} //~ ERROR E0404