rust/tests/ui/implicit-method-bind.rs
2023-01-11 09:32:08 +00:00

4 lines
82 B
Rust

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