mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 21:04:18 +00:00
ci: Require miri step
This commit is contained in:
parent
d3aeddfb77
commit
7a1e9c4b0c
4 changed files with 10 additions and 10 deletions
|
|
@ -223,7 +223,7 @@ impl HirPlace {
|
|||
kind: MutBorrowKind::Default | MutBorrowKind::TwoPhasedBorrow,
|
||||
}) = current_capture
|
||||
{
|
||||
if self.projections[len..].iter().any(|it| *it == ProjectionElem::Deref) {
|
||||
if self.projections[len..].contains(&ProjectionElem::Deref) {
|
||||
current_capture =
|
||||
CaptureKind::ByRef(BorrowKind::Mut { kind: MutBorrowKind::ClosureCapture });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue