fix build for Rust 2018 now that #58100 has been merged
This commit is contained in:
parent
bde4d1945c
commit
aa0fa752c4
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue