Warn on definitions that introduce no new variables

This commit is contained in:
Ayaz Hafiz 2022-07-22 16:21:14 -04:00
parent beccc92c87
commit 0de32ac5a9
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 122 additions and 19 deletions

View file

@ -168,6 +168,7 @@ pub enum Problem {
unbound_symbol: Symbol,
region: Region,
},
NoIdentifiersIntroduced(Region),
}
#[derive(Clone, Debug, PartialEq)]