]> git.lizzy.rs Git - rust.git/blob - src/test/ui/underscore-method-after-integer.rs
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
[rust.git] / src / test / ui / underscore-method-after-integer.rs
1 // run-pass
2
3 trait Tr : Sized {
4     fn _method_on_numbers(self) {}
5 }
6
7 impl Tr for i32 {}
8
9 fn main() {
10     42._method_on_numbers();
11 }