Make PlaceRef lifetimes of describe_field be both 'tcx
This commit is contained in:
parent
6f23650457
commit
eb67eca74a
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
|||
}
|
||||
|
||||
/// End-user visible description of the `field`nth field of `base`
|
||||
fn describe_field(&self, place: PlaceRef<'cx, 'tcx>, field: Field) -> String {
|
||||
fn describe_field(&self, place: PlaceRef<'tcx, 'tcx>, field: Field) -> String {
|
||||
// FIXME Place2 Make this work iteratively
|
||||
match place {
|
||||
PlaceRef { local, projection: [] } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue