Skip to content

Commit 8aac984

Browse files
committed
Fix ICE in probe::confirm::extract_existential_trait_ref with raw pointer self
1 parent cb9f552 commit 8aac984

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_typeck/check/method/confirm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ impl<'a, 'gcx, 'tcx> ConfirmContext<'a, 'gcx, 'tcx> {
276276
// FIXME: this feels, like, super dubious
277277
self.fcx
278278
.autoderef(self.span, self_ty)
279+
.include_raw_pointers()
279280
.filter_map(|(ty, _)| {
280281
match ty.sty {
281282
ty::TyDynamic(ref data, ..) => data.principal().map(|p| closure(self, ty, p)),

0 commit comments

Comments
 (0)