Skip to content

Commit 041c654

Browse files
authored
Rollup merge of #65629 - ecstatic-morse:remove-graphviz, r=Mark-Simulacrum
Remove `borrowck_graphviz_postflow` from test Resolves #65071 (again). Sorry. I've added a commit hook to prevent this from happening in the future. r? @petrochenkov
2 parents 4de42a7 + 51a5b49 commit 041c654

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/test/ui/consts/const-eval/issue-65394.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// Test for absence of validation mismatch ICE in #65394
22

3-
#![feature(rustc_attrs)]
4-
5-
#[rustc_mir(borrowck_graphviz_postflow="hello.dot")]
63
const _: Vec<i32> = {
74
let mut x = Vec::<i32>::new();
85
let r = &mut x; //~ ERROR references in constants may only refer to immutable values
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error[E0017]: references in constants may only refer to immutable values
2-
--> $DIR/issue-65394.rs:8:13
2+
--> $DIR/issue-65394.rs:5:13
33
|
44
LL | let r = &mut x;
55
| ^^^^^^ constants require immutable values
66

7-
[ERROR rustc_mir::transform::qualify_consts] old validator: [($DIR/issue-65394.rs:8:13: 8:19, "MutBorrow(Mut { allow_two_phase_borrow: false })")]
8-
[ERROR rustc_mir::transform::qualify_consts] new validator: [($DIR/issue-65394.rs:8:13: 8:19, "MutBorrow(Mut { allow_two_phase_borrow: false })"), ($DIR/issue-65394.rs:7:9: 7:14, "LiveDrop")]
7+
[ERROR rustc_mir::transform::qualify_consts] old validator: [($DIR/issue-65394.rs:5:13: 5:19, "MutBorrow(Mut { allow_two_phase_borrow: false })")]
8+
[ERROR rustc_mir::transform::qualify_consts] new validator: [($DIR/issue-65394.rs:5:13: 5:19, "MutBorrow(Mut { allow_two_phase_borrow: false })"), ($DIR/issue-65394.rs:4:9: 4:14, "LiveDrop")]
99
error: aborting due to previous error
1010

1111
For more information about this error, try `rustc --explain E0017`.

0 commit comments

Comments
 (0)