Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
trait Foo { }
impl Foo for i32 { }
impl Foo for u32 { }
fn gimme<F: Foo>() { }
fn main() {
gimme::<f32>(); //~ ERROR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.