File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
trunk/src/librustc/middle/typeck/infer Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 7b433d098a4a6b9959976633a77041923cef38c3
2
+ refs/heads/master: 4557f70487e10c1f4e304f4bb853dbab444359dc
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5
5
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
Original file line number Diff line number Diff line change @@ -741,14 +741,6 @@ impl infer_ctxt {
741
741
// Don't report an error if actual type is ty_err.
742
742
match ty:: get ( actual_ty) . sty {
743
743
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
- } ,
752
744
_ => ( )
753
745
}
754
746
let error_str = err. map_default ( ~"", |t_err|
You can’t perform that action at this time.
0 commit comments