rust/tests/ui/traits/negative-impls/feature-gate-negative_impls.rs
2023-01-11 09:32:08 +00:00

4 lines
117 B
Rust

trait MyTrait {}
impl !MyTrait for u32 {} //~ ERROR negative trait bounds are not yet fully implemented
fn main() {}