about summary refs log tree commit diff
path: root/tests/rustdoc-json/lifetime
AgeCommit message (Collapse)AuthorLines
2025-03-21tests/rustdoc-json: replace `$.index[*][?` with `$.index[?`Alona Enraght-Moony-48/+48
Done automatically with VSCode.
2025-03-03Always allow rustdoc-json tests to contain long linesNoratrieb-8/+0
The rustdoc-json test syntax often requires very long lines, so the checks for long lines aren't really useful.
2024-09-01rustdoc: normalise type/field names in rustdoc-json-types/jsondoclintschvv31n-17/+17
2024-07-19Update all rustdoc-json/ tests to use the new styleLeón Orell Valerian Liehr-48/+48
2024-07-03rustdoc-json: Better representation of lifetime bounds in where clauses.Alona Enraght-Moony-0/+32
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
2024-06-04rustfmt `tests/rustdoc-json/`.Nicholas Nethercote-5/+1
2023-11-07tests/rustdoc-json: Remove some needless uses of `#![no_core]`.Alona Enraght-Moony-7/+5
Done by removing all uses of `#![no_core]`, and the reverting the ones that failed. More involved ones are in a later commit.
2023-05-22Serialize all enums as externally tagged to guarantee compatibility with ↵Luca Palmieri-37/+32
binary formats such as bincode or postcard
2023-01-11Move /src/test to /testsAlbert Larsan-0/+56