mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +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() {}
|