rust/src/test/ui/issues/issue-29124.stderr

20 lines
683 B
Plaintext
Raw Normal View History

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
|
LL | Obj::func.x();
| ^ method not found in `fn() -> Ret {Obj::func}`
|
2020-01-10 14:57:36 +00:00
= note: `Obj::func` is a function, perhaps you wish to call it
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
|
2018-02-23 03:42:32 +03:00
LL | func.x();
| ^ method not found in `fn() -> Ret {func}`
|
2020-01-10 14:57:36 +00:00
= note: `func` is a function, perhaps you wish to call it
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`.