2017-05-27 12:58:52 -05:00
|
|
|
error[E0599]: no method named `f` found for type `{integer}` in the current scope
|
2017-05-01 02:27:36 -05:00
|
|
|
--> $DIR/issue_41652.rs:19:11
|
|
|
|
|
|
|
|
|
19 | 3.f()
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: found the following associated functions; to be used as methods, functions must have a `self` parameter
|
2017-08-14 13:56:54 -05:00
|
|
|
= help: try with `{integer}::f`
|
2017-05-01 02:27:36 -05:00
|
|
|
note: candidate #1 is defined in the trait `issue_41652_b::Tr`
|
2017-06-11 08:09:49 -05:00
|
|
|
--> $DIR/auxiliary/issue_41652_b.rs:14:5
|
|
|
|
|
|
|
|
|
14 | / fn f()
|
|
|
|
15 | | where Self: Sized;
|
|
|
|
| |__________________________^
|
2017-05-01 02:27:36 -05:00
|
|
|
= help: to disambiguate the method call, write `issue_41652_b::Tr::f(3)` instead
|
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2017-05-01 02:27:36 -05:00
|
|
|
|