about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-08-08 23:03:34 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-12 09:24:45 -0700
commitd7b30bef7ea482a3ded64b3ab41246ad363ee73d (patch)
tree959246f755eb384f8e1018af045c6e7b8f67b003
parent0b855bcdc9b0fafa5a4a4330e10655105daf27cb (diff)
downloadrust-d7b30bef7ea482a3ded64b3ab41246ad363ee73d.tar.gz
rust-d7b30bef7ea482a3ded64b3ab41246ad363ee73d.zip
Expand documentation of `GlobDelegation`
I discovered this via research through the git log, and I want to leave
additional guidance for future macro spelunkers.
-rw-r--r--compiler/rustc_expand/src/base.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_expand/src/base.rs b/compiler/rustc_expand/src/base.rs
index c47c076e56e..205aa47c1a0 100644
--- a/compiler/rustc_expand/src/base.rs
+++ b/compiler/rustc_expand/src/base.rs
@@ -776,6 +776,8 @@ pub enum SyntaxExtensionKind {
     ),
 
     /// A glob delegation.
+    ///
+    /// This is for delegated function implementations, and has nothing to do with glob imports.
     GlobDelegation(Arc<dyn GlobDelegationExpander + sync::DynSync + sync::DynSend>),
 }