2020-01-08 08:05:31 -08:00
|
|
|
error[E0599]: no method named `x` found for fn item `fn() -> Ret {Obj::func}` in the current scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-29124.rs:15:15
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-12-16 22:21:47 -05:00
|
|
|
LL | Obj::func.x();
|
2019-09-06 12:00:07 -07:00
|
|
|
| ^ method not found in `fn() -> Ret {Obj::func}`
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2020-01-10 14:57:36 +00:00
|
|
|
= note: `Obj::func` is a function, perhaps you wish to call it
|
2017-12-10 22:47:55 +03:00
|
|
|
|
2020-01-08 08:05:31 -08:00
|
|
|
error[E0599]: no method named `x` found for fn item `fn() -> Ret {func}` in the current scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-29124.rs:17:10
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | func.x();
|
2019-09-06 12:00:07 -07:00
|
|
|
| ^ method not found in `fn() -> Ret {func}`
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2020-01-10 14:57:36 +00:00
|
|
|
= note: `func` is a function, perhaps you wish to call it
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0599`.
|