Skip to content

Commit 83744cb

Browse files
committed
Preserve unused locals in some stable-mir tests
1 parent fdf4fff commit 83744cb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: tests/ui-fulldeps/stable-mir/check_allocation.rs

+1
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ fn main() {
224224
let args = vec![
225225
"rustc".to_string(),
226226
"--edition=2021".to_string(),
227+
"-Cdebuginfo=full".to_string(),
227228
"--crate-name".to_string(),
228229
CRATE_NAME.to_string(),
229230
path.to_string(),

Diff for: tests/ui-fulldeps/stable-mir/check_ty_fold.rs

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ fn main() {
8181
let args = vec![
8282
"rustc".to_string(),
8383
"-Cpanic=abort".to_string(),
84+
"-Cdebuginfo=full".to_string(),
8485
"--crate-name".to_string(),
8586
CRATE_NAME.to_string(),
8687
path.to_string(),

0 commit comments

Comments
 (0)