Skip to content

Commit a58602e

Browse files
committed
---
yaml --- r: 41601 b: refs/heads/master c: 4557f70 h: refs/heads/master i: 41599: 909fc23 v: v3
1 parent f6137da commit a58602e

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 7b433d098a4a6b9959976633a77041923cef38c3
2+
refs/heads/master: 4557f70487e10c1f4e304f4bb853dbab444359dc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/src/librustc/middle/typeck/infer/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -741,14 +741,6 @@ impl infer_ctxt {
741741
// Don't report an error if actual type is ty_err.
742742
match ty::get(actual_ty).sty {
743743
ty::ty_err => return,
744-
// Should really not report an error if the type
745-
// has ty_err anywhere as a component, but that's
746-
// annoying since we haven't written a visitor for
747-
// ty::t yet
748-
ty::ty_fn(fty) => match ty::get(fty.sig.output).sty {
749-
ty::ty_err => return,
750-
_ => ()
751-
},
752744
_ => ()
753745
}
754746
let error_str = err.map_default(~"", |t_err|

0 commit comments

Comments
 (0)