]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/auxiliary/anon_trait_static_method_lib.rs
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / ui / traits / auxiliary / anon_trait_static_method_lib.rs
1 pub struct Foo {
2     pub x: isize
3 }
4
5 impl Foo {
6     pub fn new() -> Foo {
7         Foo { x: 3 }
8     }
9 }