rust/tests/ui/underscore-method-after-integer.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
133 B
Rust
Raw Normal View History

// run-pass
2017-05-12 08:00:06 -05:00
trait Tr : Sized {
fn _method_on_numbers(self) {}
}
impl Tr for i32 {}
fn main() {
42._method_on_numbers();
}