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

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() {}