Skip to content

Commit b354923

Browse files
committed
mbe: Add FIXME about tracking multiple macro kinds for a Def
1 parent f49b8b4 commit b354923

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_resolve/src/ident.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
629629
let binding_macro_kind = binding.macro_kind();
630630
// If we're looking for an attribute, that might be supported by a
631631
// `macro_rules!` macro.
632+
// FIXME: Replace this with tracking multiple macro kinds for one Def.
632633
if !(sub_namespace_match(binding_macro_kind, macro_kind)
633634
|| (binding_macro_kind == Some(MacroKind::Bang)
634635
&& macro_kind == Some(MacroKind::Attr)

0 commit comments

Comments
 (0)