Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jun 23, 2014

Add support for unit literals to const_eval.

@ghost
Copy link
Author

ghost commented Jun 23, 2014

It's unfortunate this pattern matching refactor had led to so many regressions but at least we're building up test coverage the hard way. Hopefully after all the changes I'd like to make, the whole thing will be in a much better shape!

@ghost
Copy link
Author

ghost commented Jun 24, 2014

I've now added a test for this as well:

static x: [uint, ..()] = [];
fn main() {
}

which happily compiled in master.

@alexcrichton
Copy link
Member

Looks like this needs a rebase

Add support for unit literals to const_eval.
@ghost
Copy link
Author

ghost commented Jun 24, 2014

@alexcrichton Done.

@ghost ghost deleted the issue-15129 branch July 2, 2014 23:42
flip1995 added a commit to flip1995/rust that referenced this pull request Jun 26, 2025
Add beta-accepted to CHANGELOG for 1.88 since it was missed at
rust-lang/rust-clippy#5095

changelog: none

r? flip1995
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.

1 participant