We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Full code in Playground
Missing a trait bound for the trait that defines fn foo below:
fn foo
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) {