Skip to content
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

Produce nice array lengths on a best effort basis #49262

Merged
merged 2 commits into from
Mar 23, 2018

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Mar 22, 2018

fixes #49208

r? @estebank

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 22, 2018
@@ -46,7 +46,7 @@ error[E0223]: ambiguous associated type
LL | type A = [u8; 4]::AssocTy;
| ^^^^^^^^^^^^^^^^ ambiguous associated type
|
= note: specify the type using the syntax `<[u8; <unevaluated[]>] as Trait>::AssocTy`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not fix this case because it would have been very involved. The error reporting mechanisms around this error are very string heavy. This would need to be addressed in a future PR

@estebank
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Mar 22, 2018

📌 Commit b48a26c has been approved by estebank

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 22, 2018
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Mar 23, 2018
…ebank

Produce nice array lengths on a best effort basis

fixes rust-lang#49208

r? @estebank
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Mar 23, 2018
…ebank

Produce nice array lengths on a best effort basis

fixes rust-lang#49208

r? @estebank
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Mar 23, 2018
…ebank

Produce nice array lengths on a best effort basis

fixes rust-lang#49208

r? @estebank
bors added a commit that referenced this pull request Mar 23, 2018
@alexcrichton alexcrichton merged commit b48a26c into rust-lang:master Mar 23, 2018
@oli-obk oli-obk deleted the fixed_size_array_len branch June 15, 2020 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All fixed-size array impls show up as <unevaluated[]>
5 participants