mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
fix build for Rust 2018 now that #58100 has been merged
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user