rustdoc: handle cross-crate RPITITs correctly
This commit is contained in:
parent
c3c5a5c5f7
commit
5924043b86
7 changed files with 84 additions and 8 deletions
|
@ -2081,9 +2081,9 @@ rustc_queries! {
|
|||
}
|
||||
}
|
||||
|
||||
query is_impossible_method(key: (DefId, DefId)) -> bool {
|
||||
query is_impossible_associated_item(key: (DefId, DefId)) -> bool {
|
||||
desc { |tcx|
|
||||
"checking if `{}` is impossible to call within `{}`",
|
||||
"checking if `{}` is impossible to reference within `{}`",
|
||||
tcx.def_path_str(key.1),
|
||||
tcx.def_path_str(key.0),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue