From 4d9b4b4769691819f7a0328d1f87fa95899ca1c4 Mon Sep 17 00:00:00 2001 From: Dylan MacKenzie Date: Wed, 2 Oct 2019 15:35:59 -0700 Subject: [PATCH 1/2] Remove `borrowck_graphviz_postflow` from test --- src/test/ui/mir-dataflow/indirect-mutation-offset.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/ui/mir-dataflow/indirect-mutation-offset.rs b/src/test/ui/mir-dataflow/indirect-mutation-offset.rs index 804b70d2652..8087a3e1399 100644 --- a/src/test/ui/mir-dataflow/indirect-mutation-offset.rs +++ b/src/test/ui/mir-dataflow/indirect-mutation-offset.rs @@ -12,7 +12,6 @@ struct PartialInteriorMut { } #[rustc_mir(rustc_peek_indirectly_mutable,stop_after_dataflow)] -#[rustc_mir(borrowck_graphviz_postflow="indirect.dot")] const BOO: i32 = { let x = PartialInteriorMut { zst: [], From 1cda5913146fb596b5018fb7f59b38519405e658 Mon Sep 17 00:00:00 2001 From: Dylan MacKenzie Date: Thu, 3 Oct 2019 15:51:11 -0700 Subject: [PATCH 2/2] Bless test --- src/test/ui/mir-dataflow/indirect-mutation-offset.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/mir-dataflow/indirect-mutation-offset.stderr b/src/test/ui/mir-dataflow/indirect-mutation-offset.stderr index 16bd1781313..0ae9a40c96a 100644 --- a/src/test/ui/mir-dataflow/indirect-mutation-offset.stderr +++ b/src/test/ui/mir-dataflow/indirect-mutation-offset.stderr @@ -1,5 +1,5 @@ error: rustc_peek: bit not set - --> $DIR/indirect-mutation-offset.rs:35:14 + --> $DIR/indirect-mutation-offset.rs:34:14 | LL | unsafe { rustc_peek(x) }; | ^^^^^^^^^^^^^