diff --git a/src/macros.rs b/src/macros.rs index ac39e2ec..3a4b68f2 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -94,8 +94,8 @@ macro_rules! __define_language { match (self, other) { $($matches)* _ => false } } - fn children(&self) -> &[Id] { match self $children } - fn children_mut(&mut self) -> &mut [Id] { match self $children_mut } + fn children(&self) -> &[$crate::Id] { match self $children } + fn children_mut(&mut self) -> &mut [$crate::Id] { match self $children_mut } } impl ::std::fmt::Display for $name {