-
Notifications
You must be signed in to change notification settings - Fork 13.5k
make Machine::load_mir
infallible
#143584
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
Conversation
it doesn't need to return an `InterpResult`.
r? @davidtwco rustbot has assigned @davidtwco. Use |
Ah, hm, this is probably a leftover from some refactor... good catch! r=me when CI is happy. |
Looks like const propagation used to return an error here unconditionally and miri used to return an error when a function was not available due to not compiling with |
@bors r=RalfJung |
@bors rollup |
Rollup of 9 pull requests Successful merges: - #132469 (Do not suggest borrow that is already there in fully-qualified call) - #143340 (awhile -> a while where appropriate) - #143438 (Fix the link in `rustdoc.md`) - #143539 (Regression tests for repr ICEs) - #143566 (Fix `x86_64-unknown-netbsd` platform support page) - #143572 (Remove unused allow attrs) - #143583 (`loop_match`: fix 'no terminator on block') - #143584 (make `Machine::load_mir` infallible) - #143591 (Fix missing words in future tracking issue) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #143584 - fee1-dead-contrib:push-skswvrwsrmll, r=RalfJung make `Machine::load_mir` infallible it doesn't need to return an `InterpResult`.
it doesn't need to return an
InterpResult
.