-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Unrelated Code Fails to Typecheck when Feature Enabled #74919
Copy link
Copy link
Open
Labels
A-inferenceArea: Type inferenceArea: Type inferenceC-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-inferenceArea: Type inferenceArea: Type inferenceC-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
When building the following wgpu-rs commit with default features, everything compiles. When the subscriber feature is enabled with
--features subscriber, the these two lines of code fail to compile. They are unrelated to the feature. The error is:gfx-rs/wgpu-rs@9a9bf53
I have no idea how to even start making a reduced example.
Meta
Issue happens on both stable and nightly:
rustc --version --verbose:rustc +nightly --version --verbose