From 6501c9445ea161c6e1f47290ac90ac1efeaa8970 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 26 Nov 2020 21:44:17 +0100 Subject: Don't use raw identifiers --- crates/hir/src/code_model.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/hir/src/code_model.rs b/crates/hir/src/code_model.rs index 37ed092ad..f06b5cd9f 100644 --- a/crates/hir/src/code_model.rs +++ b/crates/hir/src/code_model.rs @@ -1420,11 +1420,11 @@ impl Type { pub fn normalize_trait_assoc_type( &self, db: &dyn HirDatabase, - r#trait: Trait, + trait_: Trait, args: &[Type], alias: TypeAlias, ) -> Option { - let subst = Substs::build_for_def(db, r#trait.id) + let subst = Substs::build_for_def(db, trait_.id) .push(self.ty.value.clone()) .fill(args.iter().map(|t| t.ty.value.clone())) .build(); -- cgit v1.2.3