rust/tests/ui/issues/issue-4228.rs
2023-01-11 09:32:08 +00:00

17 lines
177 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();
}