about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorAlona Enraght-Moony <code@alona.page>2024-07-03 19:57:15 +0000
committerAlona Enraght-Moony <code@alona.page>2024-07-03 20:00:56 +0000
commit7e8aac553e756b0eb03fe98e1a65ffc47836ec51 (patch)
tree074fd4ae0a4fb8eea22d2c6f006fcba916d319e3 /compiler/rustc_mir_transform/src/coverage/query.rs
parentc872a1418a4be3ea84a8d5232238b60d35339ba9 (diff)
downloadrust-7e8aac553e756b0eb03fe98e1a65ffc47836ec51.tar.gz
rust-7e8aac553e756b0eb03fe98e1a65ffc47836ec51.zip
rustdoc-json: Better representation of lifetime bounds in where clauses.
As suggested [on zulip][1], 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
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions