ICE with cfg_eval + stmt_expr_attributes #105228
Labels
C-bug
Category: This is a bug.
F-stmt_expr_attributes
`#![feature(stmt_expr_attributes)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Found by mutating cfg-eval-fail.rs with my fork of fuzz-rustc.
Code
Error output
error: removing an expression is not supported in this position
error: expected expression, found
;
thread 'rustc' panicked at 'called
Option::unwrap()
on aNone
value', compiler/rustc_builtin_macros/src/cfg_eval.rs:169Full output including backtrace
Regression
Regression in nightly-2021-04-12
Commits in range
Version
CC @petrochenkov, @Aaron1011, #82679
The text was updated successfully, but these errors were encountered: