ICE with multiple attributes on a test function #100263
Labels
C-bug
Category: This is a bug.
F-custom_test_frameworks
`#![feature(custom_test_frameworks)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Error happened when I added the
test_case
attribute from thetest-case
crate without adding the requireduse
.Error does not occur if I replace
test_case
with a different non-existing attribute.Seems to have something to do with the std::prelude::v1::test_case macro.
Code
main.rs -
Cargo.toml -
Meta
rustc --version --verbose
:Same error occurs on the latest nightly.
Error output
Backtrace
The text was updated successfully, but these errors were encountered: