summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-negative_bounds.rs
blob: 533cb0ce5bcc5af0a0dc79fecdda430a05a491a2 (plain)
1
2
3
4
fn test<T: !Copy>() {}
//~^ ERROR negative bounds are not supported

fn main() {}