Run reveal_all on MIR more often.
This commit is contained in:
parent
c4ff03f689
commit
a3776d99cc
2 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// EMIT_MIR issue_78192.f.InstCombine.diff
|
||||
// compile-flags: -Zmir-opt-level=1 -Zinline-mir
|
||||
pub fn f<T>(a: &T) -> *const T {
|
||||
let b: &*const T = &(a as *const T);
|
||||
*b
|
||||
|
|
@ -7,3 +7,5 @@ pub fn f<T>(a: &T) -> *const T {
|
|||
fn main() {
|
||||
f(&2);
|
||||
}
|
||||
|
||||
// EMIT_MIR issue_78192.f.InstCombine.diff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue