Skip to content

Commit d408f14

Browse files
committed
---
yaml --- r: 3287 b: refs/heads/master c: c109c9d h: refs/heads/master i: 3285: 08df193 3283: e026fba 3279: af1db64 v: v3
1 parent 049cddc commit d408f14

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 062c6b946b660c8418359974db38be43b3ab31aa
2+
refs/heads/master: c109c9dd730ed1efbc799bcdb9633ba814da3bab

trunk/src/comp/middle/alias.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,10 @@ fn check_for(&ctx cx, &@ast::local local, &@ast::expr seq, &ast::block block,
340340
if (mt.mut != ast::imm) { unsafe = [seq_t]; }
341341
}
342342
case (ty::ty_istr) { /* no-op */ }
343+
case (_) {
344+
cx.tcx.sess.span_unimpl(seq.span, "unknown seq type " +
345+
pretty::ppaux::ty_to_str(*cx.tcx, seq_t));
346+
}
343347
}
344348
auto new_sc =
345349
@rec(root_vars=root_def,

0 commit comments

Comments
 (0)