File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 - [ Diverging block types] ( ./expressions/block-expr.md#r-expr.block.type.diverging )
55 - [ Diverging if statements] ( ./expressions/if-expr.md#r-expr.if.diverging )
66 - [ Diverging match statements] ( ./expressions/match-expr.md#r-expr.match.type )
7+ - [ Name resolution] ( ./names/name-resolution.md )
8+ - [ Shadowing of textual scope bindings for macros] ( ./macros-by-example.md#r-macro.decl.scope.textual.shadow.path-based )
Original file line number Diff line number Diff line change @@ -326,6 +326,8 @@ fn foo() {
326326// m!(); // Error: m is not in scope.
327327```
328328
329+ <unstable-text >
330+
329331r[ macro.decl.scope.textual.shadow.path-based]
330332Textual scope name bindings for macros may shadow path-based scope bindings to
331333macros.
@@ -379,6 +381,8 @@ r[macro.decl.scope.path-based.visibility]
379381* ` #[macro_export] ` changes the implicit visibility to ` pub `
380382* macro definitions do not support direct visibility modifiers
381383
384+ </unstable-text >
385+
382386<!-- template:attributes -->
383387r[ macro.decl.scope.macro_use]
384388### The ` macro_use ` attribute
Original file line number Diff line number Diff line change 1+ <unstable-text >
12r[ names.resolution]
23# Name resolution
34
@@ -423,3 +424,5 @@ r[names.resolution.type-dependent]
423424[ permitted ] : name-resolution.md#r-names.resolution.expansion.imports.shadowing
424425[ macro invocations ] : ../macros.html#macro-invocation
425426[ path-based scope ] : ../macros-by-example.html#r-macro.decl.scope.path-based
427+
428+ </unstable-text >
You can’t perform that action at this time.
0 commit comments