rust/tests/ui/suggestions/missing-impl-trait-block-but-not-ascii.rs

14 lines
201 B
Rust
Raw Normal View History

// issue#126764
struct S;
trait T {
fn f();
}
impl T for S
//~^ ERROR: unknown start of token
//~| ERROR: expected `{}`
//~| ERROR: not all trait items implemented, missing: `f`
fn main() {}