-
Notifications
You must be signed in to change notification settings - Fork 13k
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 regression test for #99647 #105994
Add regression test for #99647 #105994
Conversation
@@ -0,0 +1,16 @@ | |||
// edition:2018 | |||
// compile-flags: -Zcrate-attr=feature(generic_const_exprs) |
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.
hm, this doesn't depend on the flag, right? can this be made into a #![feature]
instead and moved into like consts/ (i think there's a folder in there for generic const exprs)
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.
Oh, you're right! I thought it depended on the flag as the issue mentioned it, but code with the #![feature]
attr indeed ICE'd on nightly-2022-07-23. Pushed a change: ba8d7cd
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2f1a265
to
66ca5cc
Compare
@bors r+ rollup |
…iaskrgr Rollup of 3 pull requests Successful merges: - rust-lang#105817 (Remove unreasonable help message for auto trait) - rust-lang#105994 (Add regression test for rust-lang#99647) - rust-lang#106066 (Always suggest as `MachineApplicable` in `recover_intersection_pat`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Closes #99647
r? @compiler-errors
Signed-off-by: Yuki Okushi jtitor@2k36.org