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

9 lines
180 B
Plaintext
Raw Normal View History

2023-04-25 00:15:50 -05:00
error: negative bounds are not supported
--> $DIR/feature-gate-negative_bounds.rs:1:12
|
LL | fn test<T: !Copy>() {}
| ^
error: aborting due to previous error