Skip to content

Commit 4929e7b

Browse files
authored
Rollup merge of rust-lang#144078 - bjorn3:fix_test, r=compiler-errors
Fix debuginfo-lto-alloc.rs test This should have used build-pass rather than check-pass.
2 parents daa32df + 10762d5 commit 4929e7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ui/lto/debuginfo-lto-alloc.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
// This test reproduces the circumstances that caused the error to appear, and checks
99
// that compilation is successful.
1010

11-
//@ check-pass
11+
//@ build-pass
1212
//@ compile-flags: --test -C debuginfo=2 -C lto=fat
13+
//@ no-prefer-dynamic
1314
//@ incremental
1415

1516
extern crate alloc;

0 commit comments

Comments
 (0)