]> git.lizzy.rs Git - rust.git/blob - src/test/ui/implicit-method-bind.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / implicit-method-bind.stderr
1 error[E0615]: attempted to take value of method `abs` on type `i32`
2   --> $DIR/implicit-method-bind.rs:12:20
3    |
4 LL |     let _f = 10i32.abs; //~ ERROR attempted to take value of method
5    |                    ^^^
6    |
7    = help: maybe a `()` to call it is missing?
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0615`.