Report unsuffixed record literal field with effectful function

This commit is contained in:
Agus Zubiaga 2024-10-22 19:50:32 -03:00
parent ea35094b28
commit 215de707fa
No known key found for this signature in database
7 changed files with 121 additions and 21 deletions

View file

@ -236,6 +236,10 @@ impl Lowercase {
pub fn as_str(&self) -> &str {
self.0.as_str()
}
pub fn suffix(&self) -> IdentSuffix {
IdentSuffix::from_name(self.0.as_str())
}
}
impl From<Lowercase> for String {