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

fix: Add enum, reference, array and slice to render_const_scalar #14947

Merged
merged 1 commit into from Jun 2, 2023

Conversation

HKalbasi
Copy link
Member

@HKalbasi HKalbasi commented Jun 2, 2023

No description provided.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 2, 2023
@HKalbasi
Copy link
Member Author

HKalbasi commented Jun 2, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Jun 2, 2023

📌 Commit f9e3b18 has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jun 2, 2023

⌛ Testing commit f9e3b18 with merge 0677c20...

@bors
Copy link
Collaborator

bors commented Jun 2, 2023

☀️ Test successful - checks-actions
Approved by: HKalbasi
Pushing 0677c20 to master...

@bors bors merged commit 0677c20 into rust-lang:master Jun 2, 2023
10 checks passed
@lnicola lnicola changed the title Add enum, reference, array and slice to render_const_scalar fix: Add enum, reference, array and slice to render_const_scalar Jun 2, 2023
@lnicola
Copy link
Member

lnicola commented Jun 4, 2023

This either completely fixed or broke const eval 😄

image

@HKalbasi
Copy link
Member Author

HKalbasi commented Jun 4, 2023

A drop was expected, since unsupported rendering was reported as eval fail. But now that all are zero is a bit suspicious :) I hope this is just due simple usages of const eval in these projects, and not due this PR breaking metrics. The const eval itself is still not on par with rustc, missing standard library dependencies, missing features in mir, type mismatches and unresolved functions and any other r-a problem can bring const eval down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants