mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Add FIXME
This commit is contained in:
parent
05a9f377ec
commit
fdce4d9f51
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ impl ToChalk for Ty {
|
|||
TypeCtor::Ref(m) => ref_to_chalk(db, m, apply_ty.parameters),
|
||||
TypeCtor::Array => array_to_chalk(db, apply_ty.parameters),
|
||||
TypeCtor::FnPtr { num_args: _, is_varargs: _ } => {
|
||||
// FIXME: handle is_varargs
|
||||
let substitution = apply_ty.parameters.to_chalk(db).shifted_in(&Interner);
|
||||
chalk_ir::TyData::Function(chalk_ir::Fn { num_binders: 0, substitution })
|
||||
.intern(&Interner)
|
||||
|
|
Loading…
Reference in a new issue