Full code in Playground
Missing a trait bound for the trait that defines fn foo below:
fn do_stuff<T : Bar>(t : T) { // Note the space before the colon in `T : Bar`
t.foo()
}
Results in the following suggestion with an extra colon after the plus.
fn do_stuff<T: Foo +: Bar>(t : T) {
Full code in Playground
Missing a trait bound for the trait that defines
fn foobelow:Results in the following suggestion with an extra colon after the plus.