mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 04:57:35 +00:00
12 lines
264 B
Rust
12 lines
264 B
Rust
![]() |
// This was triggering an assertion failure in `NodeRange::new`.
|
||
|
|
||
|
#![feature(cfg_eval)]
|
||
|
#![feature(stmt_expr_attributes)]
|
||
|
|
||
|
fn f() -> u32 {
|
||
|
#[cfg_eval] #[cfg(not(FALSE))] 0
|
||
|
//~^ ERROR removing an expression is not supported in this position
|
||
|
}
|
||
|
|
||
|
fn main() {}
|