]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-24389.rs
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / ui / issues / issue-24389.rs
1 // check-pass
2 #![allow(dead_code)]
3
4 struct Foo;
5
6 impl Foo {
7     fn new() -> Self { Foo }
8     fn bar() { Self::new(); }
9 }
10
11 fn main() {}