Skip to content

Commit 293cd34

Browse files
committed
convert ast::{field_,capture_item_,mt} and middle::ty::mt into structs
1 parent 4bcd19f commit 293cd34

File tree

26 files changed

+195
-129
lines changed

26 files changed

+195
-129
lines changed

src/librustc/front/test.rs

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,13 @@ fn mk_test_desc_vec_ty(cx: test_ctxt) -> @ast::Ty {
340340
node: ast::ty_path(test_desc_ty_path, cx.sess.next_node_id()),
341341
span: dummy_sp()};
342342

343-
let vec_mt: ast::mt = {ty: @test_desc_ty, mutbl: ast::m_imm};
343+
let vec_mt = ast::mt {ty: @test_desc_ty, mutbl: ast::m_imm};
344344

345345
let inner_ty = @{id: cx.sess.next_node_id(),
346346
node: ast::ty_vec(vec_mt),
347347
span: dummy_sp()};
348348
return @{id: cx.sess.next_node_id(),
349-
node: ast::ty_uniq({ty: inner_ty, mutbl: ast::m_imm}),
349+
node: ast::ty_uniq(ast::mt {ty: inner_ty, mutbl: ast::m_imm}),
350350
span: dummy_sp()};
351351
}
352352

@@ -389,9 +389,11 @@ fn mk_test_desc_rec(cx: test_ctxt, test: test) -> @ast::expr {
389389
span: dummy_sp()};
390390

391391

392-
let name_field: ast::field =
393-
nospan({mutbl: ast::m_imm, ident: cx.sess.ident_of(~"name"),
394-
expr: @name_expr});
392+
let name_field = nospan(ast::field_ {
393+
mutbl: ast::m_imm,
394+
ident: cx.sess.ident_of(~"name"),
395+
expr: @name_expr,
396+
});
395397

396398
let fn_path = path_node_global(path);
397399

@@ -403,9 +405,11 @@ fn mk_test_desc_rec(cx: test_ctxt, test: test) -> @ast::expr {
403405

404406
let fn_wrapper_expr = mk_test_wrapper(cx, fn_expr, span);
405407

406-
let fn_field: ast::field =
407-
nospan({mutbl: ast::m_imm, ident: cx.sess.ident_of(~"testfn"),
408-
expr: fn_wrapper_expr});
408+
let fn_field = nospan(ast::field_ {
409+
mutbl: ast::m_imm,
410+
ident: cx.sess.ident_of(~"testfn"),
411+
expr: fn_wrapper_expr,
412+
});
409413

410414
let ignore_lit: ast::lit = nospan(ast::lit_bool(test.ignore));
411415

@@ -415,9 +419,11 @@ fn mk_test_desc_rec(cx: test_ctxt, test: test) -> @ast::expr {
415419
node: ast::expr_lit(@ignore_lit),
416420
span: span};
417421

418-
let ignore_field: ast::field =
419-
nospan({mutbl: ast::m_imm, ident: cx.sess.ident_of(~"ignore"),
420-
expr: @ignore_expr});
422+
let ignore_field = nospan(ast::field_ {
423+
mutbl: ast::m_imm,
424+
ident: cx.sess.ident_of(~"ignore"),
425+
expr: @ignore_expr,
426+
});
421427

422428
let fail_lit: ast::lit = nospan(ast::lit_bool(test.should_fail));
423429

@@ -427,10 +433,11 @@ fn mk_test_desc_rec(cx: test_ctxt, test: test) -> @ast::expr {
427433
node: ast::expr_lit(@fail_lit),
428434
span: span};
429435

430-
let fail_field: ast::field =
431-
nospan({mutbl: ast::m_imm,
432-
ident: cx.sess.ident_of(~"should_fail"),
433-
expr: @fail_expr});
436+
let fail_field = nospan(ast::field_ {
437+
mutbl: ast::m_imm,
438+
ident: cx.sess.ident_of(~"should_fail"),
439+
expr: @fail_expr,
440+
});
434441

435442
let test_desc_path =
436443
mk_path(cx, ~[cx.sess.ident_of(~"test"),

src/librustc/metadata/tydecode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ fn parse_mt(st: @pstate, conv: conv_did) -> ty::mt {
353353
'?' => { next(st); m = ast::m_const; }
354354
_ => { m = ast::m_imm; }
355355
}
356-
return {ty: parse_ty(st, conv), mutbl: m};
356+
ty::mt { ty: parse_ty(st, conv), mutbl: m }
357357
}
358358

359359
fn parse_def(st: @pstate, conv: conv_did) -> ast::def_id {

src/librustc/middle/mem_categorization.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ impl &mem_categorization_ctxt {
728728
// know what type lies at the other end, so we just call it
729729
// `()` (the empty tuple).
730730

731-
let mt = {ty: ty::mk_tup(self.tcx, ~[]), mutbl: m_imm};
731+
let mt = ty::mt {ty: ty::mk_tup(self.tcx, ~[]), mutbl: m_imm};
732732
return self.cat_deref_common(node, base_cmt, deref_cnt, mt);
733733
}
734734

src/librustc/middle/trans/_match.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ fn extract_vec_elems(bcx: block, pat_id: ast::node_id,
857857
let tail_begin = tvec::pointer_add(bcx, base, tail_offset);
858858
let tail_len = Sub(bcx, len, tail_offset);
859859
let tail_ty = ty::mk_evec(bcx.tcx(),
860-
{ty: vt.unit_ty, mutbl: ast::m_imm},
860+
ty::mt {ty: vt.unit_ty, mutbl: ast::m_imm},
861861
ty::vstore_slice(ty::re_static)
862862
);
863863
let scratch = scratch_datum(bcx, tail_ty, false);

src/librustc/middle/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2184,7 +2184,7 @@ fn create_main_wrapper(ccx: @crate_ctxt, sp: span, main_llfn: ValueRef) {
21842184
let unit_ty = ty::mk_estr(ccx.tcx, ty::vstore_uniq);
21852185
let vecarg_ty: ty::arg =
21862186
{mode: ast::expl(ast::by_val),
2187-
ty: ty::mk_evec(ccx.tcx, {ty: unit_ty, mutbl: ast::m_imm},
2187+
ty: ty::mk_evec(ccx.tcx, ty::mt {ty: unit_ty, mutbl: ast::m_imm},
21882188
ty::vstore_uniq)};
21892189
let nt = ty::mk_nil(ccx.tcx);
21902190
let llfty = type_of_fn(ccx, ~[vecarg_ty], nt);

src/librustc/middle/trans/closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ fn store_environment(bcx: block,
224224
// tuple. This could be a ptr in uniq or a box or on stack,
225225
// whatever.
226226
let cbox_ty = tuplify_box_ty(tcx, cdata_ty);
227-
let cboxptr_ty = ty::mk_ptr(tcx, {ty:cbox_ty, mutbl:ast::m_imm});
227+
let cboxptr_ty = ty::mk_ptr(tcx, ty::mt {ty:cbox_ty, mutbl:ast::m_imm});
228228

229229
let llbox = PointerCast(bcx, llbox, type_of(ccx, cboxptr_ty));
230230
debug!("tuplify_box_ty = %s", ty_to_str(tcx, cbox_ty));

src/librustc/middle/trans/common.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,10 @@ fn T_opaque_vec(targ_cfg: @session::config) -> TypeRef {
945945
// representation of @T as a tuple (i.e., the ty::t version of what T_box()
946946
// returns).
947947
fn tuplify_box_ty(tcx: ty::ctxt, t: ty::t) -> ty::t {
948-
let ptr = ty::mk_ptr(tcx, {ty: ty::mk_nil(tcx), mutbl: ast::m_imm});
948+
let ptr = ty::mk_ptr(
949+
tcx,
950+
ty::mt {ty: ty::mk_nil(tcx), mutbl: ast::m_imm}
951+
);
949952
return ty::mk_tup(tcx, ~[ty::mk_uint(tcx), ty::mk_type(tcx),
950953
ptr, ptr,
951954
t]);

src/librustc/middle/trans/expr.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ fn trans_to_datum(bcx: block, expr: @ast::expr) -> DatumBlock {
251251

252252
// this type may have a different region/mutability than the
253253
// real one, but it will have the same runtime representation
254-
let slice_ty = ty::mk_evec(tcx, {ty: unit_ty, mutbl: ast::m_imm},
254+
let slice_ty = ty::mk_evec(tcx,
255+
ty::mt { ty: unit_ty, mutbl: ast::m_imm },
255256
ty::vstore_slice(ty::re_static));
256257

257258
let scratch = scratch_datum(bcx, slice_ty, false);

src/librustc/middle/trans/machine.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use syntax::parse::token::special_idents;
2626
// nominal type that has pointers to itself in it.
2727
pub fn simplify_type(tcx: ty::ctxt, typ: ty::t) -> ty::t {
2828
fn nilptr(tcx: ty::ctxt) -> ty::t {
29-
ty::mk_ptr(tcx, {ty: ty::mk_nil(tcx), mutbl: ast::m_imm})
29+
ty::mk_ptr(tcx, ty::mt {ty: ty::mk_nil(tcx), mutbl: ast::m_imm})
3030
}
3131
fn simplifier(tcx: ty::ctxt, typ: ty::t) -> ty::t {
3232
match ty::get(typ).sty {
@@ -45,13 +45,12 @@ pub fn simplify_type(tcx: ty::ctxt, typ: ty::t) -> ty::t {
4545
let simpl_fields = (if ty::ty_dtor(tcx, did).is_present() {
4646
// remember the drop flag
4747
~[{ident: special_idents::dtor,
48-
mt: {ty: ty::mk_u8(tcx),
49-
mutbl: ast::m_mutbl}}] }
48+
mt: ty::mt {ty: ty::mk_u8(tcx), mutbl: ast::m_mutbl}}] }
5049
else { ~[] }) +
5150
do ty::lookup_struct_fields(tcx, did).map |f| {
5251
let t = ty::lookup_field_type(tcx, did, f.id, substs);
5352
{ident: f.ident,
54-
mt: {ty: simplify_type(tcx, t), mutbl: ast::m_const}}
53+
mt: ty::mt {ty: simplify_type(tcx, t), mutbl: ast::m_const}}
5554
};
5655
ty::mk_rec(tcx, simpl_fields)
5756
}

src/librustc/middle/trans/tvec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ fn trans_slice_vstore(bcx: block,
214214

215215
// Arrange for the backing array to be cleaned up.
216216
let fixed_ty = ty::mk_evec(bcx.tcx(),
217-
{ty: vt.unit_ty, mutbl: ast::m_mutbl},
217+
ty::mt {ty: vt.unit_ty, mutbl: ast::m_mutbl},
218218
ty::vstore_fixed(count));
219219
let llfixed_ty = T_ptr(type_of::type_of(bcx.ccx(), fixed_ty));
220220
let llfixed_casted = BitCast(bcx, llfixed, llfixed_ty);

src/librustc/middle/ty.rs

Lines changed: 43 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,10 @@ type method = {ident: ast::ident,
258258
vis: ast::visibility,
259259
def_id: ast::def_id};
260260

261-
type mt = {ty: t, mutbl: ast::mutability};
261+
struct mt {
262+
ty: t,
263+
mutbl: ast::mutability,
264+
}
262265

263266
#[auto_encode]
264267
#[auto_decode]
@@ -1149,34 +1152,37 @@ fn mk_enum(cx: ctxt, did: ast::def_id, +substs: substs) -> t {
11491152

11501153
fn mk_box(cx: ctxt, tm: mt) -> t { mk_t(cx, ty_box(tm)) }
11511154

1152-
fn mk_imm_box(cx: ctxt, ty: t) -> t { mk_box(cx, {ty: ty,
1153-
mutbl: ast::m_imm}) }
1155+
fn mk_imm_box(cx: ctxt, ty: t) -> t {
1156+
mk_box(cx, mt {ty: ty, mutbl: ast::m_imm})
1157+
}
11541158

11551159
fn mk_uniq(cx: ctxt, tm: mt) -> t { mk_t(cx, ty_uniq(tm)) }
11561160

1157-
fn mk_imm_uniq(cx: ctxt, ty: t) -> t { mk_uniq(cx, {ty: ty,
1158-
mutbl: ast::m_imm}) }
1161+
fn mk_imm_uniq(cx: ctxt, ty: t) -> t {
1162+
mk_uniq(cx, mt {ty: ty, mutbl: ast::m_imm})
1163+
}
11591164

11601165
fn mk_ptr(cx: ctxt, tm: mt) -> t { mk_t(cx, ty_ptr(tm)) }
11611166

11621167
fn mk_rptr(cx: ctxt, r: Region, tm: mt) -> t { mk_t(cx, ty_rptr(r, tm)) }
11631168

11641169
fn mk_mut_rptr(cx: ctxt, r: Region, ty: t) -> t {
1165-
mk_rptr(cx, r, {ty: ty, mutbl: ast::m_mutbl})
1170+
mk_rptr(cx, r, mt {ty: ty, mutbl: ast::m_mutbl})
11661171
}
11671172
fn mk_imm_rptr(cx: ctxt, r: Region, ty: t) -> t {
1168-
mk_rptr(cx, r, {ty: ty, mutbl: ast::m_imm})
1173+
mk_rptr(cx, r, mt {ty: ty, mutbl: ast::m_imm})
11691174
}
11701175

1171-
fn mk_mut_ptr(cx: ctxt, ty: t) -> t { mk_ptr(cx, {ty: ty,
1172-
mutbl: ast::m_mutbl}) }
1176+
fn mk_mut_ptr(cx: ctxt, ty: t) -> t {
1177+
mk_ptr(cx, mt {ty: ty, mutbl: ast::m_mutbl})
1178+
}
11731179

11741180
fn mk_imm_ptr(cx: ctxt, ty: t) -> t {
1175-
mk_ptr(cx, {ty: ty, mutbl: ast::m_imm})
1181+
mk_ptr(cx, mt {ty: ty, mutbl: ast::m_imm})
11761182
}
11771183

11781184
fn mk_nil_ptr(cx: ctxt) -> t {
1179-
mk_ptr(cx, {ty: mk_nil(cx), mutbl: ast::m_imm})
1185+
mk_ptr(cx, mt {ty: mk_nil(cx), mutbl: ast::m_imm})
11801186
}
11811187

11821188
fn mk_evec(cx: ctxt, tm: mt, t: vstore) -> t {
@@ -1187,7 +1193,7 @@ fn mk_unboxed_vec(cx: ctxt, tm: mt) -> t {
11871193
mk_t(cx, ty_unboxed_vec(tm))
11881194
}
11891195
fn mk_mut_unboxed_vec(cx: ctxt, ty: t) -> t {
1190-
mk_t(cx, ty_unboxed_vec({ty: ty, mutbl: ast::m_imm}))
1196+
mk_t(cx, ty_unboxed_vec(mt {ty: ty, mutbl: ast::m_imm}))
11911197
}
11921198

11931199
fn mk_rec(cx: ctxt, +fs: ~[field]) -> t { mk_t(cx, ty_rec(fs)) }
@@ -1353,19 +1359,19 @@ fn fold_sty(sty: &sty, fldop: fn(t) -> t) -> sty {
13531359

13541360
match /*bad*/copy *sty {
13551361
ty_box(tm) => {
1356-
ty_box({ty: fldop(tm.ty), mutbl: tm.mutbl})
1362+
ty_box(mt {ty: fldop(tm.ty), mutbl: tm.mutbl})
13571363
}
13581364
ty_uniq(tm) => {
1359-
ty_uniq({ty: fldop(tm.ty), mutbl: tm.mutbl})
1365+
ty_uniq(mt {ty: fldop(tm.ty), mutbl: tm.mutbl})
13601366
}
13611367
ty_ptr(tm) => {
1362-
ty_ptr({ty: fldop(tm.ty), mutbl: tm.mutbl})
1368+
ty_ptr(mt {ty: fldop(tm.ty), mutbl: tm.mutbl})
13631369
}
13641370
ty_unboxed_vec(tm) => {
1365-
ty_unboxed_vec({ty: fldop(tm.ty), mutbl: tm.mutbl})
1371+
ty_unboxed_vec(mt {ty: fldop(tm.ty), mutbl: tm.mutbl})
13661372
}
13671373
ty_evec(tm, vst) => {
1368-
ty_evec({ty: fldop(tm.ty), mutbl: tm.mutbl}, vst)
1374+
ty_evec(mt {ty: fldop(tm.ty), mutbl: tm.mutbl}, vst)
13691375
}
13701376
ty_enum(tid, ref substs) => {
13711377
ty_enum(tid, fold_substs(substs, fldop))
@@ -1376,7 +1382,7 @@ fn fold_sty(sty: &sty, fldop: fn(t) -> t) -> sty {
13761382
ty_rec(fields) => {
13771383
let new_fields = do vec::map(fields) |fl| {
13781384
let new_ty = fldop(fl.mt.ty);
1379-
let new_mt = {ty: new_ty, mutbl: fl.mt.mutbl};
1385+
let new_mt = mt {ty: new_ty, mutbl: fl.mt.mutbl};
13801386
{ident: fl.ident, mt: new_mt}
13811387
};
13821388
ty_rec(new_fields)
@@ -1390,7 +1396,7 @@ fn fold_sty(sty: &sty, fldop: fn(t) -> t) -> sty {
13901396
ty_fn(FnTyBase {meta: f.meta, sig: sig})
13911397
}
13921398
ty_rptr(r, tm) => {
1393-
ty_rptr(r, {ty: fldop(tm.ty), mutbl: tm.mutbl})
1399+
ty_rptr(r, mt {ty: fldop(tm.ty), mutbl: tm.mutbl})
13941400
}
13951401
ty_struct(did, ref substs) => {
13961402
ty_struct(did, fold_substs(substs, fldop))
@@ -1446,7 +1452,7 @@ fn fold_regions_and_ty(
14461452
ty::ty_rptr(r, mt) => {
14471453
let m_r = fldr(r);
14481454
let m_t = fldt(mt.ty);
1449-
ty::mk_rptr(cx, m_r, {ty: m_t, mutbl: mt.mutbl})
1455+
ty::mk_rptr(cx, m_r, mt {ty: m_t, mutbl: mt.mutbl})
14501456
}
14511457
ty_estr(vstore_slice(r)) => {
14521458
let m_r = fldr(r);
@@ -1455,7 +1461,7 @@ fn fold_regions_and_ty(
14551461
ty_evec(mt, vstore_slice(r)) => {
14561462
let m_r = fldr(r);
14571463
let m_t = fldt(mt.ty);
1458-
ty::mk_evec(cx, {ty: m_t, mutbl: mt.mutbl}, vstore_slice(m_r))
1464+
ty::mk_evec(cx, mt {ty: m_t, mutbl: mt.mutbl}, vstore_slice(m_r))
14591465
}
14601466
ty_enum(def_id, ref substs) => {
14611467
ty::mk_enum(cx, def_id, fold_substs(substs, fldr, fldt))
@@ -1527,19 +1533,19 @@ fn fold_region(cx: ctxt, t0: t, fldop: fn(Region, bool) -> Region) -> t {
15271533
let tb = get(t0);
15281534
if !tbox_has_flag(tb, has_regions) { return t0; }
15291535
match tb.sty {
1530-
ty_rptr(r, {ty: t1, mutbl: m}) => {
1536+
ty_rptr(r, mt {ty: t1, mutbl: m}) => {
15311537
let m_r = fldop(r, under_r);
15321538
let m_t1 = do_fold(cx, t1, true, fldop);
1533-
ty::mk_rptr(cx, m_r, {ty: m_t1, mutbl: m})
1539+
ty::mk_rptr(cx, m_r, mt {ty: m_t1, mutbl: m})
15341540
}
15351541
ty_estr(vstore_slice(r)) => {
15361542
let m_r = fldop(r, under_r);
15371543
ty::mk_estr(cx, vstore_slice(m_r))
15381544
}
1539-
ty_evec({ty: t1, mutbl: m}, vstore_slice(r)) => {
1545+
ty_evec(mt {ty: t1, mutbl: m}, vstore_slice(r)) => {
15401546
let m_r = fldop(r, under_r);
15411547
let m_t1 = do_fold(cx, t1, true, fldop);
1542-
ty::mk_evec(cx, {ty: m_t1, mutbl: m}, vstore_slice(m_r))
1548+
ty::mk_evec(cx, mt {ty: m_t1, mutbl: m}, vstore_slice(m_r))
15431549
}
15441550
ty_fn(_) => {
15451551
// do not recurse into functions, which introduce fresh bindings
@@ -2707,7 +2713,7 @@ fn deref_sty(cx: ctxt, sty: &sty, explicit: bool) -> Option<mt> {
27072713
let variants = enum_variants(cx, did);
27082714
if vec::len(*variants) == 1u && vec::len(variants[0].args) == 1u {
27092715
let v_t = subst(cx, substs, variants[0].args[0]);
2710-
Some({ty: v_t, mutbl: ast::m_imm})
2716+
Some(mt {ty: v_t, mutbl: ast::m_imm})
27112717
} else {
27122718
None
27132719
}
@@ -2717,7 +2723,7 @@ fn deref_sty(cx: ctxt, sty: &sty, explicit: bool) -> Option<mt> {
27172723
let fields = struct_fields(cx, did, substs);
27182724
if fields.len() == 1 && fields[0].ident ==
27192725
syntax::parse::token::special_idents::unnamed_field {
2720-
Some({ty: fields[0].mt.ty, mutbl: ast::m_imm})
2726+
Some(mt {ty: fields[0].mt.ty, mutbl: ast::m_imm})
27212727
} else {
27222728
None
27232729
}
@@ -2745,7 +2751,7 @@ fn index(cx: ctxt, t: t) -> Option<mt> {
27452751
fn index_sty(cx: ctxt, sty: &sty) -> Option<mt> {
27462752
match *sty {
27472753
ty_evec(mt, _) => Some(mt),
2748-
ty_estr(_) => Some({ty: mk_u8(cx), mutbl: ast::m_imm}),
2754+
ty_estr(_) => Some(mt {ty: mk_u8(cx), mutbl: ast::m_imm}),
27492755
_ => None
27502756
}
27512757
}
@@ -4111,15 +4117,17 @@ fn struct_item_fields(cx:ctxt,
41114117
substs: &substs,
41124118
frob_mutability: fn(struct_mutability) -> mutability)
41134119
-> ~[field] {
4114-
let mut rslt = ~[];
4115-
for lookup_struct_fields(cx, did).each |f| {
4120+
do lookup_struct_fields(cx, did).map |f| {
41164121
// consider all instance vars mut, because the
41174122
// constructor may mutate all vars
4118-
rslt.push({ident: f.ident, mt:
4119-
{ty: lookup_field_type(cx, did, f.id, substs),
4120-
mutbl: frob_mutability(f.mutability)}});
4123+
{
4124+
ident: f.ident,
4125+
mt: mt {
4126+
ty: lookup_field_type(cx, did, f.id, substs),
4127+
mutbl: frob_mutability(f.mutability)
4128+
}
4129+
}
41214130
}
4122-
rslt
41234131
}
41244132

41254133
fn is_binopable(_cx: ctxt, ty: t, op: ast::binop) -> bool {
@@ -4199,7 +4207,7 @@ fn ty_params_to_tys(tcx: ty::ctxt, tps: ~[ast::ty_param]) -> ~[t] {
41994207
/// Returns an equivalent type with all the typedefs and self regions removed.
42004208
fn normalize_ty(cx: ctxt, t: t) -> t {
42014209
fn normalize_mt(cx: ctxt, mt: mt) -> mt {
4202-
{ ty: normalize_ty(cx, mt.ty), mutbl: mt.mutbl }
4210+
mt { ty: normalize_ty(cx, mt.ty), mutbl: mt.mutbl }
42034211
}
42044212
fn normalize_vstore(vstore: vstore) -> vstore {
42054213
match vstore {

0 commit comments

Comments
 (0)