We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeAnchor
PathSegment
1 parent b78057c commit 88b2110Copy full SHA for 88b2110
1 file changed
rust/extractor/src/translate/base.rs
@@ -689,6 +689,13 @@ impl<'a> Translator<'a> {
689
{
690
generated::PathSegment::emit_trait_type_repr(label, t, &mut self.trap.writer)
691
}
692
+ // moreover as we're skipping emission of TypeAnchor, we need to attach its comments to
693
+ // this path segment
694
+ self.emit_tokens(
695
+ &anchor,
696
+ label.into(),
697
+ anchor.syntax().children_with_tokens(),
698
+ );
699
700
701
0 commit comments