Rename impl_defaultness
to defaultness
This commit is contained in:
parent
ba1690bedd
commit
21bc5cded4
18 changed files with 33 additions and 32 deletions
|
@ -1475,8 +1475,9 @@ rustc_queries! {
|
|||
desc { "getting traits in scope at a block" }
|
||||
}
|
||||
|
||||
query impl_defaultness(def_id: DefId) -> hir::Defaultness {
|
||||
desc { |tcx| "looking up whether `{}` is a default impl", tcx.def_path_str(def_id) }
|
||||
/// Returns whether the impl or associated function has the `default` keyword.
|
||||
query defaultness(def_id: DefId) -> hir::Defaultness {
|
||||
desc { |tcx| "looking up whether `{}` has `default`", tcx.def_path_str(def_id) }
|
||||
separate_provide_extern
|
||||
feedable
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue