about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-06 16:54:57 +0100
committerGitHub <noreply@github.com>2022-12-06 16:54:57 +0100
commit97008a23fc20f66e3dc5b292ad79d97198788ac3 (patch)
tree4104ff9b2bb0ef76af0997aff8cf4c587c9708e2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent4f527a55dea64aeb420357154884b6ca6d350986 (diff)
parent12ce0c2a891d872c8fb32eb17b6258ea99a971ad (diff)
downloadrust-97008a23fc20f66e3dc5b292ad79d97198788ac3.tar.gz
rust-97008a23fc20f66e3dc5b292ad79d97198788ac3.zip
Rollup merge of #105370 - WaffleLapkin:pp, r=oli-obk
Remove outdated syntax from trait alias pretty printing

Given the following program:
```rust
#![feature(trait_alias)]
trait A = ?Sized;

fn main() {}
```
Old output of `rustc +nightly ./t.rs -Zunpretty=normal`:
```rust
#![feature(trait_alias)]
trait A for ? Sized ;

fn main() {}
```
New output of `rustc +a ./t.rs -Zunpretty=normal`:
```rust
#![feature(trait_alias)]
trait A = ?Sized;

fn main() {}
```

cc `@durka` (you've written the `FIXME` in #45047, see https://github.com/rust-lang/rust/pull/45047#discussion_r144960751)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions