diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-12-22 19:01:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-22 19:01:26 +0100 |
| commit | 15dc9f5bee8ba12df5545e8cd05215fb24f845ba (patch) | |
| tree | 4258e44701ed9e6911eb8383ec3df5ca1bcd7c88 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 09684d2d31e93c99a21b8b037f5d75b6c687db56 (diff) | |
| parent | b09889b959c00d43803113aeda24c2ff400f2caf (diff) | |
| download | rust-15dc9f5bee8ba12df5545e8cd05215fb24f845ba.tar.gz rust-15dc9f5bee8ba12df5545e8cd05215fb24f845ba.zip | |
Rollup merge of #119169 - fmease:pretty-yeet-syntactic-cruft, r=compiler-errors
Rid the AST & HIR pretty printer of cruft
Found while working on #119163.
For `trait Trait: ?Sized {}` (semantically malformed), we currently output `trait Trait for ? Sized {}` (sic!) / `trait Trait for ? Sized { }` (sic!) if `-Zunpretty=expanded` / `-Zunpretty=hir` is passed.
`trait Tr for Sized? {}` (#15521) and later also `trait Tr for ?Sized {}` (I guess, #20194) is former Rust syntax. Hence I'm removing these outdated branches.
~~This will conflict with #119163, therefore marking this PR as blocked.~~ Rebased
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
