-
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
ICE: cat_expr_errd #52443
Comments
Even a slightly smaller example: fn main() {
[(); loop { break }]
} With some more brackets, a fn main() {
[(); {while true {break}; 0}];
} and fn main() {
[(); { for _ in 0usize.. {}; 0}];
} |
triage: P-high |
So... there's some very weird stuff going on wrt the
It appears that somehow cc @eddyb stable-to-nightly ICE on weird expressions inside AnonConst |
The following only ICE's on nightly:
playground: https://play.rust-lang.org/?gist=5301f1ed6aea057aa9f5c921e3ea2f1e&version=nightly&mode=release&edition=2015
Backtrace:
Backtrace variable is set, this was all I got. (I also got no backtrace for #52442 when compiling in nightly, perhaps they are related)
The text was updated successfully, but these errors were encountered: