]> git.lizzy.rs Git - rust.git/commit
Account for method call and indexing when looking for inner-most path in expression
authorEsteban Küber <esteban@kuber.com.ar>
Tue, 17 Jan 2023 02:52:43 +0000 (02:52 +0000)
committerEsteban Küber <esteban@kuber.com.ar>
Tue, 17 Jan 2023 02:52:43 +0000 (02:52 +0000)
commit7b8251e1886924dde68ff9b6a1c02e9973d0bd0a
treeb59f9b76537a3c299aada7cc9c6cf598132e0afa
parentc6111e8d232964f11eb3540ed7228de6e13782df
Account for method call and indexing when looking for inner-most path in expression
14 files changed:
compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs
tests/ui/box/leak-alloc.stderr
tests/ui/dropck/drop-with-active-borrows-1.stderr
tests/ui/generator/dropck.stderr
tests/ui/issues/issue-52126-assign-op-invariance.stderr
tests/ui/macros/format-args-temporaries-in-write.stderr
tests/ui/match/issue-74050-end-span.stderr
tests/ui/moves/move-fn-self-receiver.stderr
tests/ui/nll/issue-54556-niconii.stderr
tests/ui/span/borrowck-let-suggestion-suffixes.rs
tests/ui/span/borrowck-let-suggestion-suffixes.stderr
tests/ui/span/destructor-restrictions.stderr
tests/ui/span/issue-23338-locals-die-before-temps-of-body.stderr
tests/ui/span/issue-40157.stderr