Skip to content

Commit 451fc17

Browse files
committed
rustc: Derive flags for unsafe pointers. Puts out burning tinderbox.
1 parent 52c4c90 commit 451fc17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/comp/middle/ty.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,10 @@ fn mk_raw_ty(&ctxt cx, &sty st, &option::t[str] cname) -> raw_t {
330330
derive_flags_mt(cx, has_params, has_vars, m);
331331
}
332332

333+
case (ty_ptr(?m)) {
334+
derive_flags_mt(cx, has_params, has_vars, m);
335+
}
336+
333337
case (ty_port(?tt)) {
334338
derive_flags_t(cx, has_params, has_vars, tt);
335339
}

0 commit comments

Comments
 (0)