Revert "Don't print host effect param in pretty path_generic_args"
This reverts commit f1bf874fb1
.
This commit is contained in:
parent
2f457d9d60
commit
d1f4bc5a19
11 changed files with 41 additions and 45 deletions
|
@ -342,7 +342,6 @@ impl<'tcx> Printer<'tcx> for SymbolPrinter<'tcx> {
|
|||
&mut self,
|
||||
print_prefix: impl FnOnce(&mut Self) -> Result<(), PrintError>,
|
||||
args: &[GenericArg<'tcx>],
|
||||
_params: &[ty::GenericParamDef],
|
||||
) -> Result<(), PrintError> {
|
||||
print_prefix(self)?;
|
||||
|
||||
|
|
|
@ -298,7 +298,6 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> {
|
|||
)
|
||||
},
|
||||
args,
|
||||
&self.tcx.generics_of(impl_def_id).params,
|
||||
)?;
|
||||
} else {
|
||||
self.push_disambiguator(key.disambiguated_data.disambiguator as u64);
|
||||
|
@ -801,7 +800,6 @@ impl<'tcx> Printer<'tcx> for SymbolMangler<'tcx> {
|
|||
&mut self,
|
||||
print_prefix: impl FnOnce(&mut Self) -> Result<(), PrintError>,
|
||||
args: &[GenericArg<'tcx>],
|
||||
_params: &[ty::GenericParamDef],
|
||||
) -> Result<(), PrintError> {
|
||||
// Don't print any regions if they're all erased.
|
||||
let print_regions = args.iter().any(|arg| match arg.unpack() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue