Skip to content

Commit

Permalink
fix build for Rust 2018 now that rust-lang#58100 has been merged
Browse files Browse the repository at this point in the history
  • Loading branch information
tspiteri committed Feb 23, 2019
1 parent bde4d19 commit aa0fa75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/passes/collect_intra_doc_links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ fn is_primitive(path_str: &str, is_val: bool) -> Option<Def> {
}
}

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

0 comments on commit aa0fa75

Please sign in to comment.