We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1daf80 commit c2bcd14Copy full SHA for c2bcd14
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: a62bd9abeca0c99b59fc1621885402e267f10956
+refs/heads/master: 9e2b2732214d080bff6e19f64d84e9df3b704320
trunk/src/comp/middle/ty.rs
@@ -847,8 +847,7 @@ fn type_is_bool(cx: ctxt, ty: t) -> bool {
847
fn type_is_structural(cx: ctxt, ty: t) -> bool {
848
alt struct(cx, ty) {
849
ty_rec(_) | ty_tup(_) | ty_tag(_, _) | ty_fn(_) |
850
- ty_native_fn(_, _) | ty_obj(_) | ty_res(_, _, _) |
851
- ty_iface(_, _) { true }
+ ty_native_fn(_, _) | ty_obj(_) | ty_res(_, _, _) { true }
852
_ { false }
853
}
854
0 commit comments