File tree Expand file tree Collapse file tree 7 files changed +17
-9
lines changed
src/ci/docker/host-x86_64/x86_64-gnu-debug Expand file tree Collapse file tree 7 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ ENV RUST_CONFIGURE_ARGS \
38
38
--build=x86_64-unknown-linux-gnu \
39
39
--enable-debug \
40
40
--enable-lld \
41
- --set rust.debuginfo-level-tests=1 \
41
+ --set rust.debuginfo-level-tests=2 \
42
42
--set llvm.use-linker=lld \
43
43
--set target.x86_64-unknown-linux-gnu.linker=clang \
44
44
--set target.x86_64-unknown-linux-gnu.cc=clang \
Original file line number Diff line number Diff line change
1
+ // FIXME(#61117): Respect debuginfo-level-tests, do not force debuginfo=0
2
+ //@ compile-flags: -C debuginfo=0
1
3
//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type lib
2
4
//@ needs-deterministic-layouts
3
5
//@ edition:2021
Original file line number Diff line number Diff line change
1
+ // FIXME(#61117): Respect debuginfo-level-tests, do not force debuginfo=0
2
+ //@ compile-flags: -C debuginfo=0
1
3
//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type=lib
2
4
//@ needs-deterministic-layouts
3
5
//@ edition: 2021
Original file line number Diff line number Diff line change 1
1
error[E0080]: evaluation panicked: explicit panic
2
- --> $DIR/collect-in-promoted-const.rs:9 :19
2
+ --> $DIR/collect-in-promoted-const.rs:11 :19
3
3
|
4
4
LL | const C: () = panic!();
5
5
| ^^^^^^^^ evaluation of `Fail::<i32>::C` failed here
6
6
7
7
note: erroneous constant encountered
8
- --> $DIR/collect-in-promoted-const.rs:20 :21
8
+ --> $DIR/collect-in-promoted-const.rs:22 :21
9
9
|
10
10
LL | let _val = &Fail::<T>::C;
11
11
| ^^^^^^^^^^^^
12
12
13
13
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
15
15
|
16
16
LL | f::<i32>();
17
17
| ^^^^^^^^^^
Original file line number Diff line number Diff line change 1
1
error[E0080]: evaluation panicked: explicit panic
2
- --> $DIR/collect-in-promoted-const.rs:9 :19
2
+ --> $DIR/collect-in-promoted-const.rs:11 :19
3
3
|
4
4
LL | const C: () = panic!();
5
5
| ^^^^^^^^ evaluation of `Fail::<T>::C` failed here
6
6
7
7
note: erroneous constant encountered
8
- --> $DIR/collect-in-promoted-const.rs:20 :21
8
+ --> $DIR/collect-in-promoted-const.rs:22 :21
9
9
|
10
10
LL | let _val = &Fail::<T>::C;
11
11
| ^^^^^^^^^^^^
12
12
13
13
error[E0080]: evaluation panicked: explicit panic
14
- --> $DIR/collect-in-promoted-const.rs:9 :19
14
+ --> $DIR/collect-in-promoted-const.rs:11 :19
15
15
|
16
16
LL | const C: () = panic!();
17
17
| ^^^^^^^^ evaluation of `Fail::<i32>::C` failed here
18
18
19
19
note: erroneous constant encountered
20
- --> $DIR/collect-in-promoted-const.rs:20 :21
20
+ --> $DIR/collect-in-promoted-const.rs:22 :21
21
21
|
22
22
LL | let _val = &Fail::<T>::C;
23
23
| ^^^^^^^^^^^^
24
24
|
25
25
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
26
26
27
27
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
29
29
|
30
30
LL | f::<i32>();
31
31
| ^^^^^^^^^^
Original file line number Diff line number Diff line change 1
1
//@revisions: noopt opt
2
2
//@ build-fail
3
3
//@[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
4
6
//@[opt] compile-flags: -O
5
7
//! Make sure we error on erroneous consts even if they get promoted.
6
8
Original file line number Diff line number Diff line change
1
+ // FIXME(#61117): Respect debuginfo-level-tests, do not force debuginfo=0
2
+ //@ compile-flags: -C debuginfo=0
1
3
//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type lib
2
4
//@ needs-deterministic-layouts
3
5
//@ edition:2021
You can’t perform that action at this time.
0 commit comments