Skip to content

Conversation

@huonw
Copy link
Contributor

@huonw huonw commented Jan 19, 2014

Previously, they were treated like ~[] and &[](which can have length
0), but fixed length vectors are fixed length, i.e. we know at compile
time if it's possible to have length zero (which is only for [T, .. 0]).

Fixes #11659.

Previously, they were treated like ~[] and &[] (which can have length
0), but fixed length vectors are fixed length, i.e. we know at compile
time if it's possible to have length zero (which is only for [T, .. 0]).

Fixes rust-lang#11659.
bors added a commit that referenced this pull request Jan 20, 2014
…inger

Previously, they were treated like ~[] and &[] (which can have length
0), but fixed length vectors are fixed length, i.e. we know at compile
time if it's possible to have length zero (which is only for [T, .. 0]).

Fixes #11659.
@bors bors closed this Jan 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infinitely recursive struct definitions compile successfully when behind fixed-size vector

2 participants