about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-20 19:29:00 +0200
committerGitHub <noreply@github.com>2024-07-20 19:29:00 +0200
commit17aaba70d9c81b5f4c647a446eb995b8b9275bbb (patch)
treeff149fd2fb005113308a9154cef73e96cc280d7f /compiler/rustc_codegen_llvm/src
parentae28d5c9e729fe9216380de7d79292207c5e479a (diff)
parenteec3c3db88dff8ed429ca2f584138f252c60d4fe (diff)
downloadrust-17aaba70d9c81b5f4c647a446eb995b8b9275bbb.tar.gz
rust-17aaba70d9c81b5f4c647a446eb995b8b9275bbb.zip
Rollup merge of #127975 - GuillaumeGomez:fix-trait-bounds-display, r=notriddle
Fix trait bounds display

Fixes https://github.com/rust-lang/rust/issues/127398.

I took a simple rule: if there are more than two bounds, we display them like rustfmt.

Before this PR:

![Screenshot from 2024-07-19 17-38-59](https://github.com/user-attachments/assets/4162b57e-7ebb-48f9-a3a1-25e443c140cb)

After this PR:

![Screenshot from 2024-07-19 17-39-09](https://github.com/user-attachments/assets/a3ba22dd-5f34-45d0-ad9d-0cdf89dc509c)

r? `@notriddle`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions