mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
a15800a327
Previously, non-trivial type aliases in extern blocks were dropped by rustfmt because only the type alias name would be passed to a rewritter. This commit fixes that by passing all type information (generics, bounds, and assignments) to a type alias rewritter, and consolidates `rewrite_type_alias` and `rewrite_associated_type` as one function. |
||
---|---|---|
.. | ||
cargo-fmt | ||
config | ||
coverage | ||
license-template | ||
parser/issue-4126 | ||
rustfmt | ||
source | ||
target | ||
writemode |