summaryrefslogtreecommitdiffstats
path: root/src/test/ui/track-diagnostics/track6.rs
blob: 307e3101849a9f2112add44255f9bf27716db276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// compile-flags: -Z track-diagnostics
// error-pattern: created at



pub trait Foo {
    fn bar();
}

impl <T> Foo for T {
    default fn bar() {}
}

fn main() {}