//@ build-fail #![feature(inline_const)] fn foo() { const { assert!(std::mem::size_of::() == 0); } //~ ERROR E0080 } fn bar() -> usize { const { N - 1 } //~ ERROR E0080 } fn main() { foo::(); bar::<0>(); }