]>
Commit | Line | Data |
---|---|---|
7cac9316 | 1 | error[E0599]: no method named `closure` found for type `&Obj<[closure@$DIR/issue-33784.rs:35:43: 35:48]>` in the current scope |
cc61c64b XL |
2 | --> $DIR/issue-33784.rs:37:7 |
3 | | | |
0531ce1d | 4 | LL | p.closure(); //~ ERROR no method named `closure` found |
cc61c64b XL |
5 | | ^^^^^^^ field, not a method |
6 | | | |
7 | = help: use `(p.closure)(...)` if you meant to call the function stored in the `closure` field | |
8 | ||
7cac9316 | 9 | error[E0599]: no method named `fn_ptr` found for type `&&Obj<[closure@$DIR/issue-33784.rs:35:43: 35:48]>` in the current scope |
ff7c6d11 | 10 | --> $DIR/issue-33784.rs:39:7 |
cc61c64b | 11 | | |
0531ce1d | 12 | LL | q.fn_ptr(); //~ ERROR no method named `fn_ptr` found |
cc61c64b XL |
13 | | ^^^^^^ field, not a method |
14 | | | |
15 | = help: use `(q.fn_ptr)(...)` if you meant to call the function stored in the `fn_ptr` field | |
16 | ||
7cac9316 | 17 | error[E0599]: no method named `c_fn_ptr` found for type `&D` in the current scope |
ff7c6d11 | 18 | --> $DIR/issue-33784.rs:42:7 |
cc61c64b | 19 | | |
0531ce1d | 20 | LL | s.c_fn_ptr(); //~ ERROR no method named `c_fn_ptr` found |
cc61c64b XL |
21 | | ^^^^^^^^ field, not a method |
22 | | | |
23 | = help: use `(s.c_fn_ptr)(...)` if you meant to call the function stored in the `c_fn_ptr` field | |
24 | ||
041b39d2 | 25 | error: aborting due to 3 previous errors |
cc61c64b | 26 | |
0531ce1d | 27 | For more information about this error, try `rustc --explain E0599`. |