mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 00:47:18 +00:00
Don't use raw identifiers
This commit is contained in:
parent
fc0354b280
commit
6501c9445e
1 changed files with 2 additions and 2 deletions
|
@ -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<Type> {
|
||||
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();
|
||||
|
|
Loading…
Reference in a new issue