Skip to content

Commit 6aa92e7

Browse files
committed
---
yaml --- r: 15242 b: refs/heads/try c: a4906b8 h: refs/heads/master v: v3
1 parent e4e8771 commit 6aa92e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 6e8cf935db93b92638b36dbb787f7c6e11be65ad
5+
refs/heads/try: a4906b81f74d77c388b3395322d2ea3a3cd0c7a3
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustc/middle/typeck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2802,7 +2802,7 @@ fn check_expr_with_unifier(fcx: @fn_ctxt, expr: @ast::expr, unify: unifier,
28022802
let variants = ty::enum_variants(tcx, id);
28032803
if vec::len(*variants) != 1u ||
28042804
vec::len(variants[0].args) != 1u {
2805-
tcx.sess.span_err(expr.span,
2805+
tcx.sess.span_fatal(expr.span,
28062806
"can only dereference enums " +
28072807
"with a single variant which has a "
28082808
+ "single argument");

0 commit comments

Comments
 (0)