Skip to main content

FIRSTPARTY_SOURCES

Constant FIRSTPARTY_SOURCES 

Source
pub const FIRSTPARTY_SOURCES: &[(&str, &str)];
Expand description

Every first-party .bynk source, paired with its unit name — the single list every consumer iterates: hover (describe_firstparty_symbol), completion (EMBEDDED_UNITS), and the parse guard (every_first_party_source_parses). Before this list each consumer kept its own hand-maintained copy, and bynk.locale/bynk.locale.types were added to none of them — so the whole locale surface hovered as nothing and was absent from completion (#901). Add a first-party commons here once; the firstparty_sources_cover_every_src_const drift guard (bynkc/tests/firstparty_sources.rs) fails if a *_SRC const is left out.