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 \
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 \
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 
13//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type lib 
24//@ needs-deterministic-layouts 
35//@ 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 
13//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type=lib 
24//@ needs-deterministic-layouts 
35//@ edition: 2021 
Original file line number Diff line number Diff line change 11error[E0080]: evaluation panicked: explicit panic
2-   --> $DIR/collect-in-promoted-const.rs:9 :19
2+   --> $DIR/collect-in-promoted-const.rs:11 :19
33   |
44LL |     const C: () = panic!();
55   |                   ^^^^^^^^ evaluation of `Fail::<i32>::C` failed here
66
77note: erroneous constant encountered
8-   --> $DIR/collect-in-promoted-const.rs:20 :21
8+   --> $DIR/collect-in-promoted-const.rs:22 :21
99   |
1010LL |         let _val = &Fail::<T>::C;
1111   |                     ^^^^^^^^^^^^
1212
1313note: 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   |
1616LL |     f::<i32>();
1717   |     ^^^^^^^^^^
Original file line number Diff line number Diff line change 11error[E0080]: evaluation panicked: explicit panic
2-   --> $DIR/collect-in-promoted-const.rs:9 :19
2+   --> $DIR/collect-in-promoted-const.rs:11 :19
33   |
44LL |     const C: () = panic!();
55   |                   ^^^^^^^^ evaluation of `Fail::<T>::C` failed here
66
77note: erroneous constant encountered
8-   --> $DIR/collect-in-promoted-const.rs:20 :21
8+   --> $DIR/collect-in-promoted-const.rs:22 :21
99   |
1010LL |         let _val = &Fail::<T>::C;
1111   |                     ^^^^^^^^^^^^
1212
1313error[E0080]: evaluation panicked: explicit panic
14-   --> $DIR/collect-in-promoted-const.rs:9 :19
14+   --> $DIR/collect-in-promoted-const.rs:11 :19
1515   |
1616LL |     const C: () = panic!();
1717   |                   ^^^^^^^^ evaluation of `Fail::<i32>::C` failed here
1818
1919note: erroneous constant encountered
20-   --> $DIR/collect-in-promoted-const.rs:20 :21
20+   --> $DIR/collect-in-promoted-const.rs:22 :21
2121   |
2222LL |         let _val = &Fail::<T>::C;
2323   |                     ^^^^^^^^^^^^
2424   |
2525   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2626
2727note: 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   |
3030LL |     f::<i32>();
3131   |     ^^^^^^^^^^
Original file line number Diff line number Diff line change 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
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 
13//@ compile-flags: -C panic=abort -Z print-type-sizes --crate-type lib 
24//@ needs-deterministic-layouts 
35//@ edition:2021 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments