Skip to content

Commit 2408bc6

Browse files
committed
Fix a merge conflict
1 parent 53937bc commit 2408bc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/passes/collect_intra_doc_links.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl TryFrom<ResolveRes> for Res {
149149
Def(kind, id) => Ok(Res::Def(kind, id)),
150150
PrimTy(prim) => Ok(Res::Primitive(PrimitiveType::from_hir(prim))),
151151
// e.g. `#[derive]`
152-
ToolMod | NonMacroAttr(..) | Err => Result::Err(()),
152+
ToolMod { .. } | NonMacroAttr(..) | Err => Result::Err(()),
153153
other => bug!("unrecognized res {:?}", other),
154154
}
155155
}

src/tools/tidy/src/ui_tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::path::{Path, PathBuf};
1111
const ENTRY_LIMIT: usize = 900;
1212
// FIXME: The following limits should be reduced eventually.
1313
const ISSUES_ENTRY_LIMIT: usize = 1898;
14-
const ROOT_ENTRY_LIMIT: usize = 891;
14+
const ROOT_ENTRY_LIMIT: usize = 892;
1515

1616
const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[
1717
"rs", // test source files

0 commit comments

Comments
 (0)