Skip to content

Commit aa0fa75

Browse files
committed
fix build for Rust 2018 now that rust-lang#58100 has been merged
1 parent bde4d19 commit aa0fa75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/passes/collect_intra_doc_links.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ fn is_primitive(path_str: &str, is_val: bool) -> Option<Def> {
602602
}
603603
}
604604

605-
fn primitive_impl(cx: &DocContext, path_str: &str) -> Option<DefId> {
605+
fn primitive_impl(cx: &DocContext<'_, '_, '_>, path_str: &str) -> Option<DefId> {
606606
let tcx = cx.tcx;
607607
match path_str {
608608
"u8" => tcx.lang_items().u8_impl(),

0 commit comments

Comments
 (0)