-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Add regression test for #141738 #152402
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
base: main
Are you sure you want to change the base?
Add regression test for #141738 #152402
Conversation
|
r? @BoxyUwU rustbot has assigned @BoxyUwU. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
…mGCA Using a struct constructor (DefKind::Ctor(Struct, Const)) as an array repeat count with `#![feature(min_generic_const_args)]` used to trigger an ICE in const alias normalization. Add a regression test to ensure the compiler produces a proper type error instead of panicking.
9cee865 to
3d0ca2c
Compare
|
The job Click to see the possible cause of the failure (guessed by this bot) |
2 similar comments
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
@bors retry |
|
@AprilNEA: 🔑 Insufficient privileges: not in review users |
Closes #141738
DefKindfor const alias to resolve to: Ctor(Struct, Const) #141738DefKind::Ctor(Struct, Const)) as an array repeat count with#![feature(min_generic_const_args)]used to ICE in const alias normalizationusizeis expected), which was not covered by the tests in MGCA: Const constructors support #150704