-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Safe Transmute: Fix ICE (due to UnevaluatedConst) #113677
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Safe Transmute: Fix ICE (due to UnevaluatedConst) #113677
Conversation
r? @davidtwco (rustbot has picked a reviewer for you, use r? to override) |
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.
r=me after following @lqd's suggestion.
This patch updates the code that looks at the `Assume` type when evaluating if transmutation is possible. An ICE was being triggered in the case that the `Assume` parameter contained an unevaluated const (in this test case, due to a function with missing parameter names). Fixes rust-lang#110892
7540c4f
to
ef50e20
Compare
@rustbot ready |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (c44324a): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 658.53s -> 657.045s (-0.23%) |
This patch updates the code that looks at the
Assume
type when evaluating if transmutation is possible. An ICE was being triggered in the case that theAssume
parameter contained an unevaluated const (in this test case, due to a function with missing parameter names).Fixes #110892