We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
trait Foo { fn foo(&self) -> [u8]; } fn foo(f: Option<&Foo>) { if let Some(f) = f { let _ = f.foo(); } } fn main() { foo(None) }
This does generate code that calls foo in the vtable, but is not particularly useful.
foo
cc @nikomatsakis