Skip to content

1.99 beta crater regression: unresolved import in doctest #162112

Description

@cyrgani

log: https://crater-reports.s3.amazonaws.com/beta-1.99-5/1.99.0-beta.1/reg/lfchring-0.1.3/log.txt
reduction:

/// ```rust
/// use x::A;
/// ```
#[cfg(any(feature = "a", doc))]
pub struct A;

with Cargo.toml:

[package]
name = "x"
edition = "2024"

[features]
a = []

another instance of this is https://crater-reports.s3.amazonaws.com/beta-1.99-5/1.99.0-beta.1/reg/kolibrios-syscalls-0.2.0/log.txt
and also https://crater-reports.s3.amazonaws.com/beta-1.99-5/1.99.0-beta.1/reg/memory_pages-0.1.0/log.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cfgArea: `cfg` conditional compilationA-doctestsArea: Documentation tests, run by rustdocC-bugCategory: This is a bug.I-lang-nominatedNominated for discussion during a lang team meeting.I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}P-lang-drag-0Lang team prioritization drag level 0.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.S-has-bisectionStatus: A bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions