about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-07-04 04:09:51 -0400
committerGitHub <noreply@github.com>2024-07-04 04:09:51 -0400
commit1b1b745df4dace3c5af238e433df53862e2a9709 (patch)
tree1f25d96e5aa9488c19f01d7126f8367a036196b0 /compiler/rustc_mir_transform/src/coverage/query.rs
parent726b9b7c272debc4426a82b42b0fd594f82c4459 (diff)
parent7e8aac553e756b0eb03fe98e1a65ffc47836ec51 (diff)
downloadrust-1b1b745df4dace3c5af238e433df53862e2a9709.tar.gz
rust-1b1b745df4dace3c5af238e433df53862e2a9709.zip
Rollup merge of #127289 - aDotInTheVoid:rustdoc-json-lt, r=GuillaumeGomez
rustdoc-json: Better representation of lifetime bounds in where clauses.

As suggested [on zulip][1] (CC `@its-the-shrimp),` there's no need to use `GenericBound` here, as the only bound a lifetime can have is that it outlives other lifetimes.

While we're making breaking changes here, I also renamed it from using "region" to "lifetime", as this is more user-aligned. See [this comment][2] for details.

[1]: https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/.60ItemEnum.3A.3AOpaqueTy.60/near/448871430
[2]: https://github.com/rust-lang/rust/issues/100961#issuecomment-2206565556

r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions