Skip to content

Commit 0e125a5

Browse files
committed
fix: Build was broken, probably should squash all commits now or sth.
1 parent 39002fb commit 0e125a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_expand/src/expand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ impl<'a, 'b> MacroExpander<'a, 'b> {
834834
},
835835
InvocationKind::GlobDelegation { item, of_trait } => {
836836
let AssocItemKind::DelegationMac(deleg) = &item.kind else { unreachable!() };
837-
let suffixes = match &ext.kind {
837+
let suffixes = match ext {
838838
SyntaxExtensionKind::GlobDelegation(expander) => {
839839
match expander.expand(self.cx) {
840840
ExpandResult::Ready(suffixes) => suffixes,

0 commit comments

Comments
 (0)