1
Fork 0

s/method/associated function/ in E0201

This commit is contained in:
Nick Hamann 2015-06-02 22:00:01 -05:00
parent dc1e79b3c2
commit f1db9cd7c3
6 changed files with 21 additions and 11 deletions

View file

@ -11,7 +11,7 @@
struct Foo;
impl Foo {
fn orange(&self){}
fn orange(&self){} //~ ERROR error: duplicate method
fn orange(&self){} //~ ERROR duplicate associated function
}
fn main() {}