Wrap more into into closure_typeinfo query.
This commit is contained in:
parent
7dcc74eee5
commit
0915d55d87
9 changed files with 49 additions and 56 deletions
|
@ -475,7 +475,7 @@ rustc_queries! {
|
|||
}
|
||||
}
|
||||
|
||||
query closure_captures(key: LocalDefId) -> &'tcx [&'tcx ty::CapturedPlace<'tcx>] {
|
||||
query closure_typeinfo(key: LocalDefId) -> ty::ClosureTypeInfo<'tcx> {
|
||||
desc {
|
||||
|tcx| "finding symbols for captures of closure `{}`",
|
||||
tcx.def_path_str(key.to_def_id())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue