summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-24389.rs
blob: 7cc7611769ad43f9502410d19e34905ce2da34a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
#![allow(dead_code)]

struct Foo;

impl Foo {
    fn new() -> Self { Foo }
    fn bar() { Self::new(); }
}

fn main() {}