]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0599]: no method named `x` found for fn item `fn() -> Ret {Obj::func}` in the current scope |
0731742a | 2 | --> $DIR/issue-29124.rs:15:15 |
ff7c6d11 | 3 | | |
0731742a | 4 | LL | Obj::func.x(); |
f2b60f7d | 5 | | ^ method not found in `fn() -> Ret {Obj::func}` |
ff7c6d11 | 6 | |
dfeec247 | 7 | error[E0599]: no method named `x` found for fn item `fn() -> Ret {func}` in the current scope |
0731742a | 8 | --> $DIR/issue-29124.rs:17:10 |
ff7c6d11 | 9 | | |
0531ce1d | 10 | LL | func.x(); |
f2b60f7d | 11 | | ^ method not found in `fn() -> Ret {func}` |
ff7c6d11 XL |
12 | |
13 | error: aborting due to 2 previous errors | |
14 | ||
0531ce1d | 15 | For more information about this error, try `rustc --explain E0599`. |