Skip to content

Commit 24a1922

Browse files
Auto merge of #146394 - Enselic:debuginfo-level-tests-2, r=<try>
ci: Increase `rust.debuginfo-level-tests` to `2` in `x86_64-gnu-debug` job try-job: x86_64-gnu-debug
2 parents 2a9bacf + c7c2fdd commit 24a1922

File tree

7 files changed

+17
-9
lines changed

7 files changed

+17
-9
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-debug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ENV RUST_CONFIGURE_ARGS \
3838
--build=x86_64-unknown-linux-gnu \
3939
--enable-debug \
4040
--enable-lld \
41-
--set rust.debuginfo-level-tests=1 \
41+
--set rust.debuginfo-level-tests=2 \
4242
--set llvm.use-linker=lld \
4343
--set target.x86_64-unknown-linux-gnu.linker=clang \
4444
--set target.x86_64-unknown-linux-gnu.cc=clang \

tests/ui/async-await/future-sizes/async-awaiting-fut.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// FIXME(#61117): Respect debuginfo-level-tests, do not force debuginfo=0
2+
//@ compile-flags: -C debuginfo=0
13
//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type lib
24
//@ needs-deterministic-layouts
35
//@ edition:2021

tests/ui/async-await/future-sizes/large-arg.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// FIXME(#61117): Respect debuginfo-level-tests, do not force debuginfo=0
2+
//@ compile-flags: -C debuginfo=0
13
//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type=lib
24
//@ needs-deterministic-layouts
35
//@ edition: 2021

tests/ui/consts/required-consts/collect-in-promoted-const.noopt.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
error[E0080]: evaluation panicked: explicit panic
2-
--> $DIR/collect-in-promoted-const.rs:9:19
2+
--> $DIR/collect-in-promoted-const.rs:11:19
33
|
44
LL | const C: () = panic!();
55
| ^^^^^^^^ evaluation of `Fail::<i32>::C` failed here
66

77
note: erroneous constant encountered
8-
--> $DIR/collect-in-promoted-const.rs:20:21
8+
--> $DIR/collect-in-promoted-const.rs:22:21
99
|
1010
LL | let _val = &Fail::<T>::C;
1111
| ^^^^^^^^^^^^
1212

1313
note: the above error was encountered while instantiating `fn f::<i32>`
14-
--> $DIR/collect-in-promoted-const.rs:25:5
14+
--> $DIR/collect-in-promoted-const.rs:27:5
1515
|
1616
LL | f::<i32>();
1717
| ^^^^^^^^^^

tests/ui/consts/required-consts/collect-in-promoted-const.opt.stderr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
error[E0080]: evaluation panicked: explicit panic
2-
--> $DIR/collect-in-promoted-const.rs:9:19
2+
--> $DIR/collect-in-promoted-const.rs:11:19
33
|
44
LL | const C: () = panic!();
55
| ^^^^^^^^ evaluation of `Fail::<T>::C` failed here
66

77
note: erroneous constant encountered
8-
--> $DIR/collect-in-promoted-const.rs:20:21
8+
--> $DIR/collect-in-promoted-const.rs:22:21
99
|
1010
LL | let _val = &Fail::<T>::C;
1111
| ^^^^^^^^^^^^
1212

1313
error[E0080]: evaluation panicked: explicit panic
14-
--> $DIR/collect-in-promoted-const.rs:9:19
14+
--> $DIR/collect-in-promoted-const.rs:11:19
1515
|
1616
LL | const C: () = panic!();
1717
| ^^^^^^^^ evaluation of `Fail::<i32>::C` failed here
1818

1919
note: erroneous constant encountered
20-
--> $DIR/collect-in-promoted-const.rs:20:21
20+
--> $DIR/collect-in-promoted-const.rs:22:21
2121
|
2222
LL | let _val = &Fail::<T>::C;
2323
| ^^^^^^^^^^^^
2424
|
2525
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2626

2727
note: the above error was encountered while instantiating `fn f::<i32>`
28-
--> $DIR/collect-in-promoted-const.rs:25:5
28+
--> $DIR/collect-in-promoted-const.rs:27:5
2929
|
3030
LL | f::<i32>();
3131
| ^^^^^^^^^^

tests/ui/consts/required-consts/collect-in-promoted-const.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//@revisions: noopt opt
22
//@ build-fail
33
//@[noopt] compile-flags: -Copt-level=0
4+
// FIXME(#61117): Respect debuginfo-level-tests, do not force debuginfo=0
5+
//@[opt] compile-flags: -C debuginfo=0
46
//@[opt] compile-flags: -O
57
//! Make sure we error on erroneous consts even if they get promoted.
68

tests/ui/print_type_sizes/async.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// FIXME(#61117): Respect debuginfo-level-tests, do not force debuginfo=0
2+
//@ compile-flags: -C debuginfo=0
13
//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type lib
24
//@ needs-deterministic-layouts
35
//@ edition:2021

0 commit comments

Comments
 (0)