]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4228.rs
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / ui / issues / issue-4228.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 struct Foo;
5
6 impl Foo {
7     fn first() {}
8 }
9 impl Foo {
10     fn second() {}
11 }
12
13 pub fn main() {
14     Foo::first();
15     Foo::second();
16 }