-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add const evaluation error UI test. #133785
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting in this test goes kinda crazy but according to rustfmt it's valid so whatever
Test name could be improved to talk about how it's in a const generic default but w/e r? compiler-errors @bors r+ rollup |
I'm pretty sure (The formatting is atypical, but in the context of a tiny UI test I don't think it's a big deal.) |
😆 Yeah, it's wild. I actually ran it through rustfmt and it made it even worse on my end. |
@Zalathar: I am aware. I mean I ran it through rustfmt locally. |
Add const evaluation error UI test. This closes rust-lang#78834
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#132723 (Unify `sysroot_target_{bin,lib}dir` handling) - rust-lang#133041 (Print name of env var in `--print=deployment-target`) - rust-lang#133325 (Reimplement `~const` trait specialization) - rust-lang#133395 (Add simd_relaxed_fma intrinsic) - rust-lang#133517 (Deeply normalize when computing implied outlives bounds) - rust-lang#133785 (Add const evaluation error UI test.) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#133785 - HypheX:add-ui-test, r=compiler-errors Add const evaluation error UI test. This closes rust-lang#78834
This closes #78834