From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/feature-gates/feature-gate-negative_bounds.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/ui/feature-gates/feature-gate-negative_bounds.rs (limited to 'tests/ui/feature-gates/feature-gate-negative_bounds.rs') diff --git a/tests/ui/feature-gates/feature-gate-negative_bounds.rs b/tests/ui/feature-gates/feature-gate-negative_bounds.rs new file mode 100644 index 000000000..533cb0ce5 --- /dev/null +++ b/tests/ui/feature-gates/feature-gate-negative_bounds.rs @@ -0,0 +1,4 @@ +fn test() {} +//~^ ERROR negative bounds are not supported + +fn main() {} -- cgit v1.2.3