mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
14 lines
201 B
Rust
14 lines
201 B
Rust
// 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() {}
|