From 6501c9445ea161c6e1f47290ac90ac1efeaa8970 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 26 Nov 2020 21:44:17 +0100 Subject: [PATCH] Don't use raw identifiers --- crates/hir/src/code_model.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/hir/src/code_model.rs b/crates/hir/src/code_model.rs index 37ed092ad0..f06b5cd9f0 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();