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 b46c0da commit 8d097b3Copy full SHA for 8d097b3
src/librustc/middle/ty.rs
@@ -2403,8 +2403,9 @@ pub fn is_type_representable(cx: ctxt, ty: t) -> Representability {
2403
ty_tup(ref ts) => {
2404
find_nonrepresentable(cx, seen, ts.iter().map(|t| *t))
2405
}
2406
- // Non-zero fixed-length vectors.
2407
- ty_vec(mt, vstore_fixed(len)) if len != 0 => {
+ // Fixed-length vectors.
+ // FIXME(#11924) Behavior undecided for zero-length vectors.
2408
+ ty_vec(mt, vstore_fixed(_)) => {
2409
type_structurally_recursive(cx, seen, mt.ty)
2410
2411
0 commit comments