Merge DefPathData::VariantCtor and DefPathData::StructCtor

This commit is contained in:
Vadim Petrochenkov
2019-03-24 17:49:58 +03:00
parent 5bcf9f4f11
commit 2cbc25e6fc
12 changed files with 26 additions and 38 deletions
+1 -1
View File
@@ -522,7 +522,7 @@ fn path_append(
// Skip `::{{constructor}}` on tuple/unit structs.
match disambiguated_data.data {
DefPathData::StructCtor => return Ok(self),
DefPathData::Ctor => return Ok(self),
_ => {}
}