2017-12-10 22:47:55 +03:00
|
|
|
error[E0599]: no method named `x` found for type `fn() -> ret {obj::func}` in the current scope
|
|
|
|
--> $DIR/issue-29124.rs:25:15
|
|
|
|
|
|
|
|
|
25 | obj::func.x();
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: obj::func is a function, perhaps you wish to call it
|
|
|
|
|
|
|
|
error[E0599]: no method named `x` found for type `fn() -> ret {func}` in the current scope
|
2017-12-10 23:29:24 +03:00
|
|
|
--> $DIR/issue-29124.rs:27:10
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2017-12-10 23:29:24 +03:00
|
|
|
27 | func.x();
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: func is a function, perhaps you wish to call it
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0599"
|