make test not leak rustc crate hash

This commit is contained in:
Ralf Jung 2024-04-19 10:59:27 +02:00
parent d0783e8836
commit fecd7fc937
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
//@normalize-stderr-test: "\n +at [^\n]+" -> ""
//@normalize-stderr-test: "\n +\[\.\.\. omitted [0-9]+ frames? \.\.\.\]" -> ""
//@normalize-stderr-test: "\n[ =]*note:.*" -> ""
//@normalize-stderr-test: "DefId\([^()]*\)" -> "DefId"
#![feature(custom_mir, core_intrinsics)]
use core::intrinsics::mir::*;

View file

@ -1,5 +1,5 @@
thread 'rustc' panicked at compiler/rustc_const_eval/src/transform/validate.rs:LL:CC:
broken MIR in Item(DefId(0:4 ~ mir_validation[fad2]::main)) (after phase change to runtime-optimized) at bb0[1]:
broken MIR in Item(DefId) (after phase change to runtime-optimized) at bb0[1]:
(*(_2.0: *mut i32)), has deref at the wrong place
stack backtrace: