summary refs log tree commit diff
path: root/src/test/ui/implicit-method-bind.stderr
blob: 5de9e58807c4ee360df43fb36c66764eddbfe7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
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`.