Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7c7e13a

Browse files
committedJul 4, 2024·
Preserve unused locals in some stable-mir tests
1 parent 94f3095 commit 7c7e13a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎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(),

‎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)
Please sign in to comment.