File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- c45dee5efd0c042e9d1e24559ebd0d6424d8aa70
1+ fa0068b5412baecc932772dda72c0621bfa7ab00
Original file line number Diff line number Diff line change @@ -241,12 +241,12 @@ pub enum ProvenanceExtra {
241241 Wildcard ,
242242}
243243
244- #[ cfg( all ( target_arch = "x86_64" , target_pointer_width = "64" ) ) ]
244+ #[ cfg( target_pointer_width = "64" ) ]
245245static_assert_size ! ( Pointer <Provenance >, 24 ) ;
246246// FIXME: this would with in 24bytes but layout optimizations are not smart enough
247- // #[cfg(all(target_arch = "x86_64", target_pointer_width = "64") )]
247+ // #[cfg(target_pointer_width = "64")]
248248//static_assert_size!(Pointer<Option<Provenance>>, 24);
249- #[ cfg( all ( target_arch = "x86_64" , target_pointer_width = "64" ) ) ]
249+ #[ cfg( target_pointer_width = "64" ) ]
250250static_assert_size ! ( Scalar <Provenance >, 32 ) ;
251251
252252impl fmt:: Debug for Provenance {
Original file line number Diff line number Diff line change 33//@normalize-stderr-test: "\n +at [^\n]+" -> ""
44//@normalize-stderr-test: "\n +\[\.\.\. omitted [0-9]+ frames? \.\.\.\]" -> ""
55//@normalize-stderr-test: "\n[ =]*note:.*" -> ""
6+ //@normalize-stderr-test: "DefId\([^()]*\)" -> "DefId"
67#![ feature( custom_mir, core_intrinsics) ]
78use core:: intrinsics:: mir:: * ;
89
Original file line number Diff line number Diff line change 11thread 'rustc' panicked at compiler/rustc_const_eval/src/transform/validate.rs:LL:CC:
2- broken MIR in Item(DefId(0:4 ~ mir_validation[fad2]::main) ) (after phase change to runtime-optimized) at bb0[1]:
2+ broken MIR in Item(DefId) (after phase change to runtime-optimized) at bb0[1]:
33(*(_2.0: *mut i32)), has deref at the wrong place
44stack backtrace:
55
You can’t perform that action at this time.
0 commit comments