1
Fork 0

Rollup merge of #139886 - nnethercote:graphviz_borrowck, r=compiler-errors

`borrowck_graphviz_*` attribute tweaks

A couple of small fixes to out-of-date things.

r? ```@davidtwco```
This commit is contained in:
Matthias Krüger 2025-04-16 13:45:32 +02:00 committed by GitHub
commit e96b999bd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 12 deletions

View file

@ -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(())

View file

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