Add sym::anon
.
This commit is contained in:
parent
bd7f301b20
commit
7975779918
5 changed files with 6 additions and 8 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue