From 70f388cedba89c204131ebc81a202563a8e19437 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 12 Feb 2021 12:09:54 +0100 Subject: Pin Rust to 1.49.0 on CI --- crates/ide/src/references/rename.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ide/src') diff --git a/crates/ide/src/references/rename.rs b/crates/ide/src/references/rename.rs index 99a558532..ebb1ce7dd 100644 --- a/crates/ide/src/references/rename.rs +++ b/crates/ide/src/references/rename.rs @@ -415,9 +415,9 @@ fn rename_reference( ) -> RenameResult { let ident_kind = check_identifier(new_name)?; - let def_is_lbl_or_lt = matches!(def, - Definition::GenericParam(hir::GenericParam::LifetimeParam(_)) - | Definition::Label(_) + let def_is_lbl_or_lt = matches!( + def, + Definition::GenericParam(hir::GenericParam::LifetimeParam(_)) | Definition::Label(_) ); match (ident_kind, def) { (IdentifierKind::ToSelf, _) -- cgit v1.2.3