mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
feat: Implement TAIT
This commit is contained in:
parent
56f63dfd8a
commit
c530e21714
14 changed files with 291 additions and 191 deletions
|
@ -595,7 +595,7 @@ impl TypeFoldable<Interner> for CallableSig {
|
|||
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
|
||||
pub enum ImplTraitId {
|
||||
ReturnTypeImplTrait(hir_def::FunctionId, ImplTraitIdx),
|
||||
AssociatedTypeImplTrait(hir_def::TypeAliasId, ImplTraitIdx),
|
||||
TypeAliasImplTrait(hir_def::TypeAliasId, ImplTraitIdx),
|
||||
AsyncBlockTypeImplTrait(hir_def::DefWithBodyId, ExprId),
|
||||
}
|
||||
impl InternValueTrivial for ImplTraitId {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue