Ignore now-broken mir-opt test

This commit is contained in:
Jonas Schievink 2020-10-02 16:50:45 +02:00
parent acc150b2e9
commit c47011f669

View File

@ -1,4 +1,7 @@
// compile-flags: -Zmir-opt-level=1 -Zunsound-mir-opts
// ignore-test
// FIXME: the pass is unsound and causes ICEs in the MIR validator
// EMIT_MIR simplify_try_if_let.{impl#0}-append.SimplifyArmIdentity.diff
use std::ptr::NonNull;
@ -19,7 +22,7 @@ impl LinkedList {
pub fn append(&mut self, other: &mut Self) {
match self.tail {
None => { },
None => {}
Some(mut tail) => {
// `as_mut` is okay here because we have exclusive access to the entirety
// of both lists.