diff --git a/tests/ui-fulldeps/stable-mir/check_allocation.rs b/tests/ui-fulldeps/stable-mir/check_allocation.rs index 7752ff51ac811..db2e8c03dbe3d 100644 --- a/tests/ui-fulldeps/stable-mir/check_allocation.rs +++ b/tests/ui-fulldeps/stable-mir/check_allocation.rs @@ -224,6 +224,7 @@ fn main() { let args = vec![ "rustc".to_string(), "--edition=2021".to_string(), + "-Cdebuginfo=full".to_string(), "--crate-name".to_string(), CRATE_NAME.to_string(), path.to_string(), diff --git a/tests/ui-fulldeps/stable-mir/check_ty_fold.rs b/tests/ui-fulldeps/stable-mir/check_ty_fold.rs index 0b8cfcf27fd9b..0079f9209526e 100644 --- a/tests/ui-fulldeps/stable-mir/check_ty_fold.rs +++ b/tests/ui-fulldeps/stable-mir/check_ty_fold.rs @@ -81,6 +81,7 @@ fn main() { let args = vec![ "rustc".to_string(), "-Cpanic=abort".to_string(), + "-Cdebuginfo=full".to_string(), "--crate-name".to_string(), CRATE_NAME.to_string(), path.to_string(),