]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-stmt_expr_attributes.rs
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
[rust.git] / src / test / ui / feature-gates / feature-gate-stmt_expr_attributes.rs
1 const X: i32 = #[allow(dead_code)] 8;
2 //~^ ERROR attributes on expressions are experimental
3
4 fn main() {}