12 lines
375 B
Plaintext
12 lines
375 B
Plaintext
error[E0615]: attempted to take value of method `abs` on type `i32`
|
|
--> $DIR/implicit-method-bind.rs:12:20
|
|
|
|
|
LL | let _f = 10i32.abs; //~ ERROR attempted to take value of method
|
|
| ^^^
|
|
|
|
|
= help: maybe a `()` to call it is missing?
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0615`.
|