]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/use-before-def.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / traits / use-before-def.rs
1 // run-pass
2 #![allow(non_camel_case_types)]
3
4 // Issue #1761
5
6 // pretty-expanded FIXME #23616
7
8 impl foo for isize { fn foo(&self) -> isize { 10 } }
9 trait foo { fn foo(&self) -> isize; }
10 pub fn main() {}