1 You tried to use something which is not a trait in a trait position, such as
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 you didn't misspell the trait's name or otherwise use the
22 wrong identifier. Example:
30 impl Foo for Bar { // ok!
31 // functions implementation
42 fn bar<T: Foo>(t: T) {} // ok!