about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-26 10:52:16 +0000
committerbors <bors@rust-lang.org>2021-06-26 10:52:16 +0000
commit831ae3c1364b7b033bd1da430bc1cb86d93ad186 (patch)
tree32db4a7d7858a85aefba7d95d4e728858b1ebee1 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent481971978fda83aa7cf1f1f3c80cfad822377cf2 (diff)
parent4ea27484c9582389cded2301d1f0dd4f421c8c35 (diff)
downloadrust-831ae3c1364b7b033bd1da430bc1cb86d93ad186.tar.gz
rust-831ae3c1364b7b033bd1da430bc1cb86d93ad186.zip
Auto merge of #84814 - Stupremee:properly-render-hrtbs, r=GuillaumeGomez
Properly render HRTBs

```rust
pub fn test<T>()
where
    for<'a> &'a T: Iterator,
{}
```

This will now render properly including the `for<'a>`
![image](https://user-images.githubusercontent.com/39732259/116808426-fe6ce600-ab38-11eb-9452-f33f554fbb8e.png)

I do not know if this covers all cases, it only covers everything that I could think of that includes `for` and lifetimes in where bounds.
Also someone need to mentor me on how to add a proper rustdoc test for this.

Resolves #78482
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions