Open
Description
auto-reduced (treereduce-rust):
fn main() {
let _ = #[cfg_eval]
#[cfg(::)]
0;
}
original:
#![feature(cfg_eval)]
#![feature(stmt_expr_attributes)]
fn main() {
let _ = #[cfg_eval] #[cfg(generate_mod::CheckDerive)] 0;
//~^ ERROR removing an expression is not supported in this position
}
Version information
rustc 1.81.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.81.0-dev
LLVM version: 18.1.7
Metadata
Metadata
Assignees
Labels
Area: The lexing & parsing of Rust source code to an ASTCategory: This is a bug.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Relevant to the compiler team, which will review and decide on the PR/issue.This issue requires a build of rustc or tooling with debug-assertions in some way