You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/items/use-declarations.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ They may create bindings for:
116
116
*[Built-in types]
117
117
*[Attributes]
118
118
*[Derive macros]
119
-
*[Macros by example]
119
+
*[`macro_rules`]
120
120
121
121
r[items.use.path.disallowed]
122
122
They cannot import [associated items], [generic parameters], [local variables], paths with [`Self`], or [tool attributes]. More restrictions are described below.
@@ -303,6 +303,10 @@ mod clashing {
303
303
}
304
304
```
305
305
306
+
> [!NOTE]
307
+
>
308
+
> For areas where shadowing is not allowed, see [name resolution ambiguities].
309
+
306
310
r[items.use.glob.last-segment-only]
307
311
`*` cannot be used as the first or intermediate segments.
0 commit comments