diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-16 08:35:34 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-16 08:35:34 +1000 |
| commit | 766cd3a58320f2ec9e30573f39e377513f1a4443 (patch) | |
| tree | 1a17f7c7cfa30802531a08de77e2f64fc90c7cba /compiler/rustc_mir_dataflow | |
| parent | 414da5b63d699c1c648088114ad2796deb0ce737 (diff) | |
| download | rust-766cd3a58320f2ec9e30573f39e377513f1a4443.tar.gz rust-766cd3a58320f2ec9e30573f39e377513f1a4443.zip | |
Remove support for `#[rustc_mir(borrowck_graphviz_format="gen_kill")]`.
Because it's equivalent to `#[rustc_mir(borrowck_graphviz_format)]`. It used to be distinct, but the distinction was removed in https://github.com/rust-lang/rust/pull/76044/commits/3233fb18a891363a2da36ce69ca16fbb219c96be.
Diffstat (limited to 'compiler/rustc_mir_dataflow')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/framework/graphviz.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/framework/graphviz.rs b/compiler/rustc_mir_dataflow/src/framework/graphviz.rs index 448fad2dc3e..c436b8c0fb0 100644 --- a/compiler/rustc_mir_dataflow/src/framework/graphviz.rs +++ b/compiler/rustc_mir_dataflow/src/framework/graphviz.rs @@ -122,7 +122,7 @@ impl RustcMirAttrs { }) } else if attr.has_name(sym::borrowck_graphviz_format) { Self::set_field(&mut ret.formatter, tcx, &attr, |s| match s { - sym::gen_kill | sym::two_phase => Ok(s), + sym::two_phase => Ok(s), _ => { tcx.dcx().emit_err(UnknownFormatter { span: attr.span() }); Err(()) |
