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
The claim here was that:
> Glob imports are allowed to import conflicting names in the same
> namespace as long as the name is not used *or shadowed*.
It's true that the name being used will cause an error. But it's not
true that the name being shadowed will cause one, so let's remove
that part.
Copy file name to clipboardExpand all lines: src/items/use-declarations.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -340,7 +340,7 @@ The following are restrictions for valid `use` declarations.
340
340
341
341
Some situations are an error when there is an ambiguity as to which name a `use` declaration refers. This happens when there are two name candidates that do not resolve to the same entity.
342
342
343
-
Glob imports are allowed to import conflicting names in the same namespace as long as the name is not used or shadowed.
343
+
Glob imports are allowed to import conflicting names in the same namespace as long as the name is not used.
0 commit comments