about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2022-09-30 12:41:44 -0400
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2023-07-27 19:52:26 -0500
commitcdfa2f86b729b0bbba8661bca075a5974cec83bf (patch)
tree562c040061665d80c3fe48fc51f46e78fb89b67a /tests/codegen/patchable-function-entry
parenta9ae746267e8ad4c2f4aaa7c2cf16d88d7886192 (diff)
downloadrust-cdfa2f86b729b0bbba8661bca075a5974cec83bf.tar.gz
rust-cdfa2f86b729b0bbba8661bca075a5974cec83bf.zip
Handle `dyn*` syntax when rewriting `ast::TyKind::TraitObject`
Resolves 5542

Prior to rust-lang/rust#101212 the `ast::TraitObjectSyntax` enum only
had two variants `Dyn` and `None`. The PR that introduced the `dyn*`
syntax added a new variant `DynStar`, but did not update the formatting
rules to account for the new variant.

Now the new `DynStar` variant is properly handled and is no longer
removed by rustfmt.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions