diff --git a/build/static_string_indexing.rs b/build/static_string_indexing.rs index a577a517..7309f1cf 100644 --- a/build/static_string_indexing.rs +++ b/build/static_string_indexing.rs @@ -194,6 +194,7 @@ pub fn index_static_strings(instruction_rs_path: &std::path::Path) -> TokenStrea macro_rules! atom { #((#static_str_keys) => { Atom { index: #indices } };)* + ($name:literal) => {compile_error!(concat!("unknown static atom ", $name))}; } pub static STATIC_ATOMS_MAP: phf::Map<&'static str, Atom> = phf::phf_map! {