rename RPITIT from opaque to synthetic

This commit is contained in:
Michael Goulet 2024-02-27 16:02:19 +00:00
parent b6e4299415
commit 1feef44daf
7 changed files with 14 additions and 11 deletions

View file

@ -420,7 +420,9 @@ impl DefPathData {
pub fn name(&self) -> DefPathDataName {
use self::DefPathData::*;
match *self {
TypeNs(name) if name == kw::Empty => DefPathDataName::Anon { namespace: sym::opaque },
TypeNs(name) if name == kw::Empty => {
DefPathDataName::Anon { namespace: sym::synthetic }
}
TypeNs(name) | ValueNs(name) | MacroNs(name) | LifetimeNs(name) => {
DefPathDataName::Named(name)
}