Fix macro textual scope shadowing link target

In name resolution, we say that one way in which names introduced by
`use` declarations can be shadowed within a single scope is by macro
textual scope shadowing.  We then linked to a rule that says it's not
an error to define a macro multiple times, but that's discussing only
textual-scope matters.  A `use` declaration creates a path-based scope
binding, so let's point instead to the rule that says that textual
scope name bindings shadow path-based scope bindings.
1 file changed
tree: 15d6f274ec359093f93539509153fcfdcaa01097
  1. .cargo/
  2. .github/
  3. dev-guide/
  4. docs/
  5. src/
  6. theme/
  7. tools/
  8. .gitattributes
  9. .gitignore
  10. book.toml
  11. Cargo.lock
  12. Cargo.toml
  13. CONTRIBUTING.md
  14. LICENSE-APACHE
  15. LICENSE-MIT
  16. README.md
  17. reference.md
  18. rust-toolchain.toml
  19. rustfmt.toml
  20. triagebot.toml
README.md

The Rust Language Reference

This document is the primary reference for the Rust programming language.

Contributor docs

See the Reference Developer Guide for information on contributing to the Reference.