mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +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() {}
|