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
3233fb18a8.
This commit is contained in:
Nicholas Nethercote 2025-04-16 08:35:34 +10:00
parent 414da5b63d
commit 766cd3a583
2 changed files with 1 additions and 2 deletions

View File

@ -122,7 +122,7 @@ impl RustcMirAttrs {
}) })
} else if attr.has_name(sym::borrowck_graphviz_format) { } else if attr.has_name(sym::borrowck_graphviz_format) {
Self::set_field(&mut ret.formatter, tcx, &attr, |s| match s { 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() }); tcx.dcx().emit_err(UnknownFormatter { span: attr.span() });
Err(()) Err(())

View File

@ -1068,7 +1068,6 @@ symbols! {
ge, ge,
gen_blocks, gen_blocks,
gen_future, gen_future,
gen_kill,
generator_clone, generator_clone,
generators, generators,
generic_arg_infer, generic_arg_infer,