Add Definition kind for asm register classes

This commit is contained in:
Lukas Wirth 2024-09-05 10:23:00 +02:00
parent 3b11ff8c4d
commit 164b15bc62
16 changed files with 214 additions and 28 deletions

View file

@ -205,7 +205,8 @@ impl Definition {
| Definition::BuiltinAttr(_)
| Definition::SelfType(_)
| Definition::ToolModule(_)
| Definition::TupleField(_) => return None,
| Definition::TupleField(_)
| Definition::InlineAsmRegOrRegClass(_) => return None,
// FIXME: This should be doable in theory
Definition::DeriveHelper(_) => return None,
};