This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Description
We’re seeing a lot of these messages in standard-error:
Unexpected attribute syntax_type on node of type scope
These are emitted here, and stem from the fact that "syntax_type" is not included in SCOPE_ATTRS:
|
static SCOPE_ATTRS: Lazy<HashSet<&'static str>> = |
|
Lazy::new(|| HashSet::from([TYPE_ATTR, IS_EXPORTED_ATTR, IS_ENDPOINT_ATTR])); |
I’m not sure whether "syntax_type" should be in SCOPE_ATTRS, or the attribute is erroneously added to scope nodes in TSGs — seems to me it’s the former, but I’ll leave that up to you.