Skip to content

Commit 9eab4eb

Browse files
committed
---
yaml --- r: 187516 b: refs/heads/try c: b137982 h: refs/heads/master v: v3
1 parent 110ffdb commit 9eab4eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: b4c965ee803a4521d8b4575f634e036f93e408f3
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5-
refs/heads/try: 0eb0ba38d0893f711e68321d3e6fe28a929cd00e
5+
refs/heads/try: b137982c2f73a2488183bd80cd01a7831ad74e3e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/librustc_typeck/check/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,10 +1363,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
13631363
match self.inh.locals.borrow().get(&nid) {
13641364
Some(&t) => t,
13651365
None => {
1366-
self.tcx().sess.span_bug(
1366+
self.tcx().sess.span_err(
13671367
span,
1368-
&format!("no type for local variable {}",
1369-
nid));
1368+
&format!("no type for local variable {}", nid));
1369+
self.tcx().types.err
13701370
}
13711371
}
13721372
}

0 commit comments

Comments
 (0)