]> git.lizzy.rs Git - rust.git/blob - tests/ui/implicit-method-bind.stderr
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / ui / implicit-method-bind.stderr
1 error[E0615]: attempted to take value of method `abs` on type `i32`
2   --> $DIR/implicit-method-bind.rs:2:20
3    |
4 LL |     let _f = 10i32.abs;
5    |                    ^^^ method, not a field
6    |
7 help: use parentheses to call the method
8    |
9 LL |     let _f = 10i32.abs();
10    |                       ++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0615`.