]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #81575 - camelid:rustdoc-wrongnamespace-cleanup, r=jyn514
authorDylan DPC <dylan.dpc@gmail.com>
Thu, 25 Feb 2021 13:33:52 +0000 (14:33 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Feb 2021 13:33:52 +0000 (14:33 +0100)
commit749d70ae69031051da6e33657a2b82cde5b15240
treeda413629d027b5f76d08ba5bf351896745ef2fe3
parent4b9c213d6fb4d67ac6c28262d2d81e42228a74d3
parenta03950bc88c6117ffa84481ac57df1aec07ef747
Rollup merge of #81575 - camelid:rustdoc-wrongnamespace-cleanup, r=jyn514

rustdoc: Name fields of `ResolutionFailure::WrongNamespace`

It makes it clearer that the `Namespace` is the one requested by the
disambiguator, rather than the actual namespace of the item. It said
that in the docs before, but now you can tell in the code so it reduces
the potential for confusion.
src/librustdoc/passes/collect_intra_doc_links.rs