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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
82 B
Rust
Raw Normal View History

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