Skip to content

Commit

Permalink
Ignore now-broken mir-opt test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schievink committed Oct 2, 2020
1 parent acc150b commit c47011f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/mir-opt/simplify_try_if_let.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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.
Expand Down

0 comments on commit c47011f

Please sign in to comment.