rust/tests/ui/feature-gates/feature-gate-negative_bounds.rs
2023-05-02 22:36:24 +00:00

5 lines
82 B
Rust

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