-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent nightly doesn't support array length from indirectly referenced trait constant #67743
Comments
Ouput from cargo-bisect-rustc Regression found in the compilersearched nightlies: from nightly-2019-12-29 to nightly-2019-12-31 |
cc @oli-obk |
triage P-high, removing nomination. |
A user reports that this is blocking the Rust Playground from updating its nightly. (See rust-lang/rust-playground#560 ) Nominating for discussion at today's meeting. |
Sorry everyone, I totally forgot about this. A fix PR is up now. |
Hiya, on
rustc 1.42.0-nightly (a9dd56ff9 2019-12-30)
, compilation fails when defining an array whose length is from a constant from a trait from an associated type. The code compiles fine onrustc 1.42.0-nightly (0de96d37f 2019-12-19)
.The error message:
It seems similar to #67739, but in this case,
size_of
isn't being used. It may also be a duplicate of #43408.It also compiles fine on playpen nightly:
2019-12-29 da3629b05
.The text was updated successfully, but these errors were encountered: