chore: remove TokenKind::NoImplLit

This commit is contained in:
Shunsuke Shibayama 2023-05-02 23:11:51 +09:00
parent 5703aa84ab
commit 3f2793f915
4 changed files with 4 additions and 6 deletions

View file

@ -53,7 +53,6 @@ pub fn type_from_token_kind(kind: TokenKind) -> Type {
StrLit | DocComment => Type::Str,
BoolLit => Type::Bool,
NoneLit => Type::NoneType,
NoImplLit => Type::NotImplementedType,
EllipsisLit => Type::Ellipsis,
InfLit => Type::Inf,
other => panic!("this has no type: {other}"),