diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-06 23:15:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-06 23:15:16 +0100 |
| commit | 1a8f69826c75a65acb018a183610e4b1cb32c46d (patch) | |
| tree | ea5db60f5bc134d89e3ce5c5961b4ca4d7cd7711 /compiler/rustc_llvm/llvm-wrapper | |
| parent | 0604cf5fd8aacb5eee6a627066e11ca3b5f48cf2 (diff) | |
| parent | a24e238bdf07b2e59f5d3af376647742a6d7f05a (diff) | |
| download | rust-1a8f69826c75a65acb018a183610e4b1cb32c46d.tar.gz rust-1a8f69826c75a65acb018a183610e4b1cb32c46d.zip | |
Rollup merge of #92417 - dtolnay:printimpl, r=jackh726
Fix spacing and ordering of words in pretty printed Impl
Follow-up to #92238 fixing one of the FIXMEs.
```rust
macro_rules! repro {
($item:item) => {
stringify!($item)
};
}
fn main() {
println!("{}", repro!(impl<T> Struct<T> {}));
println!("{}", repro!(impl<T> const Trait for T {}));
}
```
Before: `impl <T> Struct<T> {}`
After: `impl<T> Struct<T> {}`
Before: `impl const <T> Trait for T {}` :crying_cat_face:
After: `impl<T> const Trait for T {}`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
