rust/tests/ui/track-diagnostics/track6.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
165 B
Rust
Raw Normal View History

2022-10-31 10:14:29 -05:00
// compile-flags: -Z track-diagnostics
// error-pattern: created at
pub trait Foo {
fn bar();
}
impl <T> Foo for T {
default fn bar() {}
}
fn main() {}