1 error[E0404]: expected trait, found struct `Foo`
4 LL | impl Foo for Bar {} //~ ERROR E0404
7 error[E0404]: expected trait, found struct `Foo`
10 LL | fn baz<T: Foo>(_: T) {} //~ ERROR E0404
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0404`.