Skip to content

Allow way to get merged doctests while developing on latest when MSRV doesn't support 2024 Edition #141240

Open
@epage

Description

@epage

Many of the example packages used when showing the value of merged doctests run on an old MSRV and can't benefit from it. I'd go so far as to presume that the packages with the most doctests are likely the most mature and therefore have the most demand for a low MSRV. This prevents those that need it the most to use this feature.

jiff works around this by having CI inject an edition = "2024" but that doesn't work for local development without special knowledge to do so and the risk of merging it.

It would be helpful to have a way to explicitly opt-in to merged doctests without bumping MSRV.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-doctestsArea: Documentation tests, run by rustdocC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions