about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-count-overflow-debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-27 19:30:58 +0000
committerbors <bors@rust-lang.org>2020-11-27 19:30:58 +0000
commit6a889570e46c03d7b156ec08f3f4cb4d145924a3 (patch)
treefea0b9ef0d3ca8782f13b7123a3254ab2ca72821 /src/test/ui/iterators/iter-count-overflow-debug.rs
parent774bce7f5e9d0cc99a30cf37be5d175a3b530beb (diff)
parent09a3bc10ca289c8649f942908855224da034ecb6 (diff)
downloadrust-6a889570e46c03d7b156ec08f3f4cb4d145924a3.tar.gz
rust-6a889570e46c03d7b156ec08f3f4cb4d145924a3.zip
Auto merge of #79372 - jyn514:more-cleanup, r=GuillaumeGomez
Cleanup more of rustdoc

-  Use `Item::from_def_id` for StructField
- Use `from_def_id_and_parts` for primitives and keywords
- Take `String` instead of `Symbol` in `from_def_id` - this avoids having to intern then immediately stringify the existing string.
- Remove unused `get_stability` and `get_deprecation`
- Remove unused `attrs` field from `primitives`
- Remove unused `attrs` field from `keywords`

This will probably conflict with https://github.com/rust-lang/rust/pull/79335 and I would prefer for that PR to land first - I'm anxious for https://github.com/rust-lang/rust/pull/77467 to land :)

Makes https://github.com/rust-lang/rust/issues/76998 easier to add.

r? `@GuillaumeGomez`
Diffstat (limited to 'src/test/ui/iterators/iter-count-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions