2018-02-07 21:35:35 -06:00
|
|
|
error[E0615]: attempted to take value of method `method` on type `Foo`
|
|
|
|
--> $DIR/E0615.rs:21:7
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | f.method; //~ ERROR E0615
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
= help: maybe a `()` to call it is missing?
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0615"
|