rust/tests/ui/feature-gates/feature-gate-negative_bounds.rs

5 lines
82 B
Rust
Raw Normal View History

2023-04-25 00:15:50 -05:00
fn test<T: !Copy>() {}
//~^ ERROR negative bounds are not supported
fn main() {}