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 811406a commit b6889c6Copy full SHA for b6889c6
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 94c6160c737675f1e1049fe7f5706b70ec99c822
+refs/heads/master: e7c8019dd9889e1736b075d1b205f8b118b286b3
trunk/src/comp/middle/ty.rs
@@ -1071,6 +1071,13 @@ fn type_kind(cx: &ctxt, ty: &t) -> ast::kind {
1071
if result == ast::kind_pinned { break; }
1072
}
1073
1074
+ // Tuples lower to the lowest of their members.
1075
+ ty_tup(tys) {
1076
+ for ty: t in tys {
1077
+ result = kind::lower_kind(result, type_kind(cx, ty));
1078
+ if result == ast::kind_pinned { break; }
1079
+ }
1080
1081
1082
// Tags lower to the lowest of their variants.
1083
ty_tag(did, tps) {
0 commit comments