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.
This commit is contained in:
parent
414da5b63d
commit
766cd3a583
2 changed files with 1 additions and 2 deletions
|
@ -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(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue