Track labels in scopes

This commit is contained in:
Lukas Wirth 2021-03-21 00:59:45 +01:00
parent 090e013161
commit cbd325707b
4 changed files with 57 additions and 11 deletions

View file

@ -2199,6 +2199,7 @@ pub enum ScopeDef {
ImplSelfType(Impl),
AdtSelfType(Adt),
Local(Local),
Label(Label),
Unknown,
}