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

// Normalize the emitted location so this doesn't need
// updating everytime someone adds or removes a line.
// normalize-stderr-test ".rs:\d+:\d+" -> ".rs:LL:CC"


pub trait Foo {
    fn bar();
}

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

fn main() {}