Rename DefPathData::get_name() to DefPathData::name()

This commit is contained in:
marmeladema 2020-09-01 00:42:30 +01:00
parent 2708ad8bb4
commit 657ecdb75e
7 changed files with 7 additions and 7 deletions

View file

@ -846,7 +846,7 @@ impl<'tcx> LateContext<'tcx> {
return Ok(path);
}
path.push(match disambiguated_data.data.get_name() {
path.push(match disambiguated_data.data.name() {
DefPathDataName::Named(name) => name,
DefPathDataName::Anon { namespace } => {
Symbol::intern(&format!("{{{{{}}}}}", namespace))