]>
git.proxmox.com Git - rustc.git/blob - tests/ui/consts/auxiliary/external_macro.rs
1 #![feature(allow_internal_unstable)]
3 // Macro to help ensure CONST_ERR lint errors
4 // are not silenced in external macros.
5 // https://github.com/rust-lang/rust/issues/65300
8 #[allow_internal_unstable(type_ascription)]
9 macro_rules
! static_assert
{
12 const _
: () = [()][!($test
: bool
) as usize];