No need to use local.into here
This commit is contained in:
parent
a9de4f11ed
commit
7f3459a3b3
1 changed files with 1 additions and 1 deletions
|
|
@ -1793,7 +1793,7 @@ impl<'tcx> Place<'tcx> {
|
|||
|
||||
impl From<Local> for Place<'_> {
|
||||
fn from(local: Local) -> Self {
|
||||
Place { local: local.into(), projection: List::empty() }
|
||||
Place { local, projection: List::empty() }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue