Skip to content

Commit

Permalink
Preserve unused locals in some stable-mir tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmcm committed Jul 4, 2024
1 parent 94f3095 commit 7c7e13a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/ui-fulldeps/stable-mir/check_allocation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
1 change: 1 addition & 0 deletions tests/ui-fulldeps/stable-mir/check_ty_fold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 7c7e13a

Please sign in to comment.