-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendA-stabilityArea: `#[stable]`, `#[unstable]` etc.Area: `#[stable]`, `#[unstable]` etc.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.F-default_field_values`#![feature(default_field_values)]``#![feature(default_field_values)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
RFC 3681 (tracking issue) proposes supporting default values on fields.
As I mentioned at RustWeek, I'd love to move toward having SemVer lints available in cargo-semver-checks
on day 1 of new language features hitting stable Rust. This feature is a perfect candidate to trial that:
- @estebank and I have already worked to identify the new SemVer hazards in this language feature
- the
cargo-semver-checks
schema and lints we'd need are relatively straightforward - all we need is for rustdoc JSON to include the info we need.
@rustbot label A-rustdoc-json
estebank
Metadata
Metadata
Assignees
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendA-stabilityArea: `#[stable]`, `#[unstable]` etc.Area: `#[stable]`, `#[unstable]` etc.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.F-default_field_values`#![feature(default_field_values)]``#![feature(default_field_values)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.