Skip to content

Commit 791defd

Browse files
committed
---
yaml --- r: 107769 b: refs/heads/dist-snap c: 8d097b3 h: refs/heads/master i: 107767: b9d21b9 v: v3
1 parent 1ab1322 commit 791defd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: b46c0daa7ba1fdd9b5ee3ba2b8bd4ff220fa8b6c
9+
refs/heads/dist-snap: 8d097b3bfb7af5c171f0177720e7388a294081e9
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/librustc/middle/ty.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2403,8 +2403,9 @@ pub fn is_type_representable(cx: ctxt, ty: t) -> Representability {
24032403
ty_tup(ref ts) => {
24042404
find_nonrepresentable(cx, seen, ts.iter().map(|t| *t))
24052405
}
2406-
// Non-zero fixed-length vectors.
2407-
ty_vec(mt, vstore_fixed(len)) if len != 0 => {
2406+
// Fixed-length vectors.
2407+
// FIXME(#11924) Behavior undecided for zero-length vectors.
2408+
ty_vec(mt, vstore_fixed(_)) => {
24082409
type_structurally_recursive(cx, seen, mt.ty)
24092410
}
24102411

0 commit comments

Comments
 (0)