rust/tests/ui/issues/issue-4228.rs
2024-02-16 20:02:50 +00:00

16 lines
179 B
Rust

//@ run-pass
//@ pretty-expanded FIXME #23616
struct Foo;
impl Foo {
fn first() {}
}
impl Foo {
fn second() {}
}
pub fn main() {
Foo::first();
Foo::second();
}