From 36c773c5cf39910774f7a1bce4b60795345ad0e3 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Tue, 7 Oct 2025 06:49:46 +0200 Subject: [PATCH] tests: debuginfo: Stop disabling SingleUseConsts, bug is fixed --- tests/debuginfo/function-arg-initialization.rs | 3 +-- tests/debuginfo/macro-stepping.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/debuginfo/function-arg-initialization.rs b/tests/debuginfo/function-arg-initialization.rs index 03fb1e2d062f5..55134ebe88cfa 100644 --- a/tests/debuginfo/function-arg-initialization.rs +++ b/tests/debuginfo/function-arg-initialization.rs @@ -6,8 +6,7 @@ // function name. //@ min-lldb-version: 1800 -//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts -// SingleUseConsts shouldn't need to be disabled, see #128945 +//@ compile-flags:-g //@ disable-gdb-pretty-printers // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/macro-stepping.rs b/tests/debuginfo/macro-stepping.rs index 35bb6de4fef38..3e23a0e395dfb 100644 --- a/tests/debuginfo/macro-stepping.rs +++ b/tests/debuginfo/macro-stepping.rs @@ -10,8 +10,7 @@ #[macro_use] extern crate macro_stepping; // exports new_scope!() -//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts -// SingleUseConsts shouldn't need to be disabled, see #128945 +//@ compile-flags:-g // === GDB TESTS ===================================================================================