From d7b30bef7ea482a3ded64b3ab41246ad363ee73d Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Fri, 8 Aug 2025 23:03:34 -0700 Subject: [PATCH] Expand documentation of `GlobDelegation` I discovered this via research through the git log, and I want to leave additional guidance for future macro spelunkers. --- compiler/rustc_expand/src/base.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/rustc_expand/src/base.rs b/compiler/rustc_expand/src/base.rs index c47c076e56ef..205aa47c1a02 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), }