From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../min_const_unsafe_fn_libstd_stability2.stderr | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr (limited to 'src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr') diff --git a/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr b/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr deleted file mode 100644 index e90ba9b91..000000000 --- a/src/test/ui/consts/min_const_fn/min_const_unsafe_fn_libstd_stability2.stderr +++ /dev/null @@ -1,26 +0,0 @@ -error: `foo` is not yet stable as a const fn - --> $DIR/min_const_unsafe_fn_libstd_stability2.rs:16:32 - | -LL | const unsafe fn bar() -> u32 { foo() } - | ^^^^^ - | - = help: const-stable functions can only call other const-stable functions - -error: `foo2` is not yet stable as a const fn - --> $DIR/min_const_unsafe_fn_libstd_stability2.rs:24:33 - | -LL | const unsafe fn bar2() -> u32 { foo2() } - | ^^^^^^ - | - = help: const-stable functions can only call other const-stable functions - -error: `foo2_gated` is not yet stable as a const fn - --> $DIR/min_const_unsafe_fn_libstd_stability2.rs:33:39 - | -LL | const unsafe fn bar2_gated() -> u32 { foo2_gated() } - | ^^^^^^^^^^^^ - | - = help: const-stable functions can only call other const-stable functions - -error: aborting due to 3 previous errors - -- cgit v1.2.3