1 A type that is not a trait was used in a trait position, such as a bound
4 Erroneous code example:
10 impl Foo for Bar {} // error: `Foo` is not a trait
13 Another erroneous code example:
18 fn bar<T: Foo>(t: T) {} // error: `Foo` is not a trait
21 Please verify that the trait's name was not misspelled or that the right
22 identifier was used. Example:
30 impl Foo for Bar { // ok!
31 // functions implementation
42 fn bar<T: Foo>(t: T) {} // ok!