Skip to content

Commit bb2c6ce

Browse files
bors[bot]Veykril
andauthored
Merge #6646
6646: Remove single r#trait identifer usage r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
2 parents fc0354b + 6501c94 commit bb2c6ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/hir/src/code_model.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,11 +1420,11 @@ impl Type {
14201420
pub fn normalize_trait_assoc_type(
14211421
&self,
14221422
db: &dyn HirDatabase,
1423-
r#trait: Trait,
1423+
trait_: Trait,
14241424
args: &[Type],
14251425
alias: TypeAlias,
14261426
) -> Option<Type> {
1427-
let subst = Substs::build_for_def(db, r#trait.id)
1427+
let subst = Substs::build_for_def(db, trait_.id)
14281428
.push(self.ty.value.clone())
14291429
.fill(args.iter().map(|t| t.ty.value.clone()))
14301430
.build();

0 commit comments

Comments
 (0)