We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f0cbf4 commit 2663018Copy full SHA for 2663018
src/rustc/middle/trans/shape.rs
@@ -632,7 +632,7 @@ fn simplify_type(tcx: ty::ctxt, typ: ty::t) -> ty::t {
632
fn simplifier(tcx: ty::ctxt, typ: ty::t) -> ty::t {
633
alt ty::get(typ).struct {
634
ty::ty_box(_) | ty::ty_opaque_box | ty::ty_uniq(_) | ty::ty_vec(_) |
635
- ty::ty_ptr(_) { nilptr(tcx) }
+ ty::ty_ptr(_) | ty::ty_rptr(_,_) { nilptr(tcx) }
636
ty::ty_fn(_) { ty::mk_tup(tcx, [nilptr(tcx), nilptr(tcx)]) }
637
ty::ty_res(_, sub, tps) {
638
let sub1 = ty::substitute_type_params(tcx, tps, sub);
0 commit comments