about summary refs log tree commit diff
path: root/src/test/ui/implicit-method-bind.stderr
blob: 7c70709c6b9787cf23310102ea907ffb1d14dfd5 (plain)
1
2
3
4
5
6
7
8
9
error[E0615]: attempted to take value of method `abs` on type `i32`
  --> $DIR/implicit-method-bind.rs:2:20
   |
LL |     let _f = 10i32.abs; //~ ERROR attempted to take value of method
   |                    ^^^ help: use parentheses to call the method: `abs()`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0615`.