rust/tests/ui/implicit-method-bind.rs

4 lines
82 B
Rust

fn main() {
let _f = 10i32.abs; //~ ERROR attempted to take value of method
}