Ensure that queries only return Copy types.
This commit is contained in:
parent
bf242bb119
commit
6c2ee885e6
31 changed files with 141 additions and 96 deletions
|
@ -935,7 +935,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
|
|||
};
|
||||
|
||||
self.var_debug_info.push(VarDebugInfo {
|
||||
name: sym,
|
||||
name: *sym,
|
||||
source_info: SourceInfo::outermost(tcx_hir.span(var_id)),
|
||||
value: VarDebugInfoContents::Place(Place {
|
||||
local: ty::CAPTURE_STRUCT_LOCAL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue