2020-01-08 10:05:31 -06:00
|
|
|
error[E0599]: no method named `f` found for fn pointer `fn(&u8)` in the current scope
|
2019-01-25 14:23:13 -06:00
|
|
|
--> $DIR/issue-57362-1.rs:20:7
|
2019-01-25 12:35:35 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | a.f();
|
2019-09-06 14:00:07 -05:00
|
|
|
| ^ method not found in `fn(&u8)`
|
2019-01-25 12:35:35 -06:00
|
|
|
|
|
2019-02-20 11:52:23 -06:00
|
|
|
= note: a is a function, perhaps you wish to call it
|
|
|
|
= help: items from traits can only be used if the trait is implemented and in scope
|
|
|
|
= note: the following trait defines an item `f`, perhaps you need to implement it:
|
|
|
|
candidate #1: `Trait`
|
2019-01-25 12:35:35 -06:00
|
|
|
|
2019-01-25 14:23:13 -06:00
|
|
|
error: aborting due to previous error
|
2019-01-25 12:35:35 -06:00
|
|
|
|
2019-02-20 11:52:23 -06:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|