rust/tests/ui/feature-gates/feature-gate-negative_bound...

5 lines
82 B
Rust

fn test<T: !Copy>() {}
//~^ ERROR negative bounds are not supported
fn main() {}