Skip to content

Commit 01045be

Browse files
committed
3373: Define which token the lint attaches to
1 parent d1e9965 commit 01045be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

text/3373-avoid-nonlocal-definitions-in-fns.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ In a future edition, we may consider making this lint deny-by-default, or
5252
eventually making it a hard error. We'll evaluate the impact on the ecosystem
5353
and existing use cases before doing so.
5454

55+
The lint is considered to attach to the `impl` token of an `impl` block, or the
56+
`macro_rules!` token of a macro definition.
57+
5558
# Drawbacks
5659
[drawbacks]: #drawbacks
5760

0 commit comments

Comments
 (0)