mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03: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() {}
|