We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
struct Foo; trait Bar { fn bar(&self) -> int; } impl Bar for Foo { fn bar(&self) -> int {1} fn bar(&self) -> int {2} } fn main() { printfln!(Foo.bar()) }
$ rustc double-def.rs $ ./double-def 1