Alona Enraght-Moony
7ab71c417b
tests/rustdoc-json: replace $.index[*][?
with $.index[?
...
Done automatically with VSCode.
2025-03-21 00:48:09 +00:00
Noratrieb
dfed028e78
Always allow rustdoc-json tests to contain long lines
...
The rustdoc-json test syntax often requires very long lines, so the checks
for long lines aren't really useful.
2025-03-03 19:59:54 +01:00
schvv31n
f2696ab4d3
rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint
2024-09-01 23:58:08 +03:00
León Orell Valerian Liehr
633f41de09
Update all rustdoc-json/ tests to use the new style
2024-07-19 16:54:42 +02:00
Alona Enraght-Moony
7e8aac553e
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]: 448871430
[2]: https://github.com/rust-lang/rust/issues/100961#issuecomment-2206565556
2024-07-03 20:00:56 +00:00
Nicholas Nethercote
9f16362ab4
rustfmt tests/rustdoc-json/
.
2024-06-04 14:15:19 +10:00
Alona Enraght-Moony
f784fa7bd9
tests/rustdoc-json: Remove some needless uses of #![no_core]
.
...
Done by removing all uses of `#![no_core]`, and the reverting the ones
that failed. More involved ones are in a later commit.
2023-11-07 16:36:55 +00:00
Luca Palmieri
a5e5101375
Serialize all enums as externally tagged to guarantee compatibility with binary formats such as bincode or postcard
2023-05-22 18:22:08 +01:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00