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

Evaluate constants in array repeat expression #11112

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

HKalbasi
Copy link
Member

cc #8655

Copy link
Member

@flodiebold flodiebold left a comment

Choose a reason for hiding this comment

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

bors d+

// note: this may break later if we add more consteval. it just needs to be something that our
// consteval engine doesn't understand
check_assist_not_applicable(
check_assist(
Copy link
Member

Choose a reason for hiding this comment

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

this is supposed to test a case where the assist isn't applicable, so would you mind changing it to something else and leave the comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah I missed the comment's point completely

@bors
Copy link
Contributor

bors bot commented Jan 4, 2022

✌️ HKalbasi can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@HKalbasi
Copy link
Member Author

HKalbasi commented Jan 4, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 4, 2022

@bors bors bot merged commit ac3ea3e into rust-lang:master Jan 4, 2022
@lnicola
Copy link
Member

lnicola commented Jan 10, 2022

image

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.

3 participants