Plumb dyn trait representation through ty::Dynamic
This commit is contained in:
parent
eff35e59c6
commit
6c01273a15
29 changed files with 110 additions and 57 deletions
|
@ -627,7 +627,7 @@ fn encode_ty<'tcx>(
|
|||
}
|
||||
|
||||
// Trait types
|
||||
ty::Dynamic(predicates, region) => {
|
||||
ty::Dynamic(predicates, region, _repr) => {
|
||||
// u3dynI<element-type1[..element-typeN]>E, where <element-type> is <predicate>, as
|
||||
// vendor extended type.
|
||||
let mut s = String::from("u3dynI");
|
||||
|
|
|
@ -479,7 +479,7 @@ impl<'tcx> Printer<'tcx> for &mut SymbolMangler<'tcx> {
|
|||
})?;
|
||||
}
|
||||
|
||||
ty::Dynamic(predicates, r) => {
|
||||
ty::Dynamic(predicates, r, _repr) => {
|
||||
self.push("D");
|
||||
self = self.print_dyn_existential(predicates)?;
|
||||
self = r.print(self)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue