Don't document impossible to call default trait items on impls
This commit is contained in:
parent
d77da9da84
commit
b3b23aada9
4 changed files with 114 additions and 1 deletions
|
@ -1951,6 +1951,14 @@ rustc_queries! {
|
|||
}
|
||||
}
|
||||
|
||||
query is_impossible_method(key: (DefId, DefId)) -> bool {
|
||||
desc { |tcx|
|
||||
"checking if {} is impossible to call within {}",
|
||||
tcx.def_path_str(key.1),
|
||||
tcx.def_path_str(key.0),
|
||||
}
|
||||
}
|
||||
|
||||
query method_autoderef_steps(
|
||||
goal: CanonicalTyGoal<'tcx>
|
||||
) -> MethodAutoderefStepsResult<'tcx> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue