Rename 'bad prefix' to 'unknown prefix'.

This commit is contained in:
Mara Bos 2021-06-14 16:50:20 +00:00 committed by lrh2000
parent d40be0fc64
commit 0eeeebc990
3 changed files with 14 additions and 14 deletions

View file

@ -413,7 +413,7 @@ impl<'a> Classifier<'a> {
},
c => c,
},
TokenKind::RawIdent | TokenKind::BadPrefix => Class::Ident,
TokenKind::RawIdent | TokenKind::UnknownPrefix => Class::Ident,
TokenKind::Lifetime { .. } => Class::Lifetime,
};
// Anything that didn't return above is the simple case where we the