mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
10 lines
167 B
Rust
10 lines
167 B
Rust
trait Trait1 {}
|
|
trait Trait2 {}
|
|
|
|
#[cfg(not_enabled)]
|
|
impl Trait1 for .. {}
|
|
|
|
impl Trait2 for .. {} //~ ERROR `impl Trait for .. {}` is an obsolete syntax
|
|
|
|
fn main() {}
|