mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 14:13:38 +00:00
11 lines
199 B
Rust
11 lines
199 B
Rust
trait A {}
|
|
|
|
impl A .. {}
|
|
//~^ ERROR missing `for` in a trait impl
|
|
//~| ERROR `impl Trait for .. {}` is an obsolete syntax
|
|
|
|
impl A usize {}
|
|
//~^ ERROR missing `for` in a trait impl
|
|
|
|
fn main() {}
|