Fix comment about spans during borrowck per PR 91359 review
This commit is contained in:
parent
1b5ff95edb
commit
730249d3d0
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ impl<'a, 'b> Context<'a, 'b> {
|
|||
//
|
||||
// This uses the arg span for `&arg` so that borrowck errors
|
||||
// point to the specific expression passed to the macro (the
|
||||
// span is otherwise unavailable in MIR).
|
||||
// span is otherwise unavailable in the MIR used by borrowck).
|
||||
let heads = original_args
|
||||
.into_iter()
|
||||
.map(|e| self.ecx.expr_addr_of(e.span.with_ctxt(self.macsp.ctxt()), e))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue