Skip to content

Commit 6a729eb

Browse files
committed
Add stability markers and outline parts for name res
1 parent b17d041 commit 6a729eb

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/expansion-outline.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
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)

src/macros-by-example.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ fn foo() {
326326
// m!(); // Error: m is not in scope.
327327
```
328328

329+
<unstable-text>
330+
329331
r[macro.decl.scope.textual.shadow.path-based]
330332
Textual scope name bindings for macros may shadow path-based scope bindings to
331333
macros.
@@ -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 -->
383387
r[macro.decl.scope.macro_use]
384388
### The `macro_use` attribute

src/names/name-resolution.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<unstable-text>
12
r[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>

0 commit comments

Comments
 (0)