regression: error: module should be marked with the #[cfg(test)]
attribute
#140225
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-cfg
Area: `cfg` conditional compilation
A-proc-macros
Area: Procedural macros
C-bug
Category: This is a bug.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
S-has-bisection
Status: a bisection has been found for this issue
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
Milestone
(and several more like that)
That particular error message comes from their own proc-macro. The module does have the expected attribute, but I suppose something must have changed in how we provide that to the macro.
Version it worked on
It most recently worked on: 1.86.0
Version with regression
rustc 1.87.0-beta.5 (386abeb93 2025-04-19)
in crater #139827.@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged
The text was updated successfully, but these errors were encountered: