1
Fork 0

Add sym::anon.

This commit is contained in:
Nicholas Nethercote 2023-04-11 14:24:59 +10:00
parent bd7f301b20
commit 7975779918
5 changed files with 6 additions and 8 deletions

View file

@ -1637,7 +1637,7 @@ impl<'tcx> Region<'tcx> {
pub fn get_name_or_anon(self) -> Symbol {
match self.get_name() {
Some(name) => name,
None => Symbol::intern("anon"),
None => sym::anon,
}
}