Fix ICE in probe::confirm::extract_existential_trait_ref with raw pointer self
This commit is contained in:
parent
cb9f552b7c
commit
8aac984e40
1 changed files with 1 additions and 0 deletions
|
|
@ -276,6 +276,7 @@ impl<'a, 'gcx, 'tcx> ConfirmContext<'a, 'gcx, 'tcx> {
|
|||
// FIXME: this feels, like, super dubious
|
||||
self.fcx
|
||||
.autoderef(self.span, self_ty)
|
||||
.include_raw_pointers()
|
||||
.filter_map(|(ty, _)| {
|
||||
match ty.sty {
|
||||
ty::TyDynamic(ref data, ..) => data.principal().map(|p| closure(self, ty, p)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue