-
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: assertion failed: Binder == Binder
#121688
Comments
that seems off 😅 this PR should not result in behavior differences |
ah yes my bad :D |
rust/compiler/rustc_const_eval/src/transform/check_consts/check.rs Lines 583 to 597 in b6e4299
should exist since pretty much forever 😁 1.48 |
Regression in nightly-2023-04-20 fetching (via remote github) commits from max(c609da5, 2023-04-17) to 39c6804 |
This might be related to #110393 cc @fee1-dead one nightly before this errors with
so maybe const-related |
the cause is that the assert mentioned in #121688 (comment) is wrong. COmparing pointers with different bound vars is ok. This should either use actual semantic equality or just yeet the assert |
Rollup merge of rust-lang#122173 - compiler-errors:ptr-equality-in-ctfe, r=lcnr Don't ICE in CTFE if raw/fn-ptr types differ Fixes rust-lang#121688 r? lcnr
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc
Program output
The text was updated successfully, but these errors were encountered: