Skip to content

Commit 2ca6f11

Browse files
committed
Fix rebase conflicts
1 parent 418f608 commit 2ca6f11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/passes/collect_intra_doc_links.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,9 +938,9 @@ impl<'a, 'tcx> DocFolder for LinkCollector<'a, 'tcx> {
938938
// We only looked in one namespace. Try to give a better error if possible.
939939
if kind.full_res().is_none() {
940940
let other_ns = if ns == ValueNS { TypeNS } else { ValueNS };
941-
for &ns in &[other_ns, MacroNS] {
941+
for &new_ns in &[other_ns, MacroNS] {
942942
if let Some(res) = self.check_full_res(
943-
ns,
943+
new_ns,
944944
path_str,
945945
base_node,
946946
&current_item,

0 commit comments

Comments
 (0)