mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-01 06:18:30 +00:00
8 lines
186 B
Rust
8 lines
186 B
Rust
auto trait MyTrait {}
|
|
//~^ ERROR auto traits are experimental and possibly buggy
|
|
|
|
impl<T> !MyTrait for *mut T {}
|
|
//~^ ERROR negative trait bounds are not fully implemented
|
|
|
|
fn main() {}
|