Commit c85b1c3
committed
Fix CI: intersect initial array ids with the registry, docs links, doctest sizes
- Implement the intended semantics of the writer's pre-populated array
context: `initial_array_ids` is the intersection of the session's
enabled-edition encodings with the registered encodings, since an
enabled edition may include encodings the session cannot serialize
(e.g. an optional crate that is not compiled in). This completes the
`initial_array_ids_are_registered_and_enabled` test and removes the
unused `registry` binding and `Itertools` import that failed the
lint jobs.
- Qualify the intra-doc links in the editions module docs: links in
the module's inner docs resolve at the facade's `pub mod` site, so
unqualified links break rustdoc under -D warnings.
- Restore the updated file-size golden values in the Python
write-options doctests: the footer's encoding list changed with the
edition-derived array context, shrinking the written files by 40
bytes.
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CK2nCuXnyd2g3mNHQC8Lz21 parent 0726cb5 commit c85b1c3
3 files changed
Lines changed: 29 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
529 | 530 | | |
530 | 531 | | |
531 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
532 | 548 | | |
533 | 549 | | |
534 | 550 | | |
535 | 551 | | |
536 | 552 | | |
537 | 553 | | |
538 | | - | |
539 | 554 | | |
540 | 555 | | |
541 | 556 | | |
542 | 557 | | |
543 | 558 | | |
544 | 559 | | |
| 560 | + | |
| 561 | + | |
545 | 562 | | |
546 | 563 | | |
547 | 564 | | |
| |||
557 | 574 | | |
558 | 575 | | |
559 | 576 | | |
560 | | - | |
561 | | - | |
| 577 | + | |
562 | 578 | | |
563 | 579 | | |
564 | 580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments