-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Do not call check_expr
in check_compatible
, since it has side-effects
#98785
Do not call check_expr
in check_compatible
, since it has side-effects
#98785
Conversation
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
d6c26d7
to
e1770a2
Compare
r? @jackh726 do you mind taking a look at this? it actually ends up making the code slightly simpler, too. this ICEs in production found by @WaffleLapkin, so I'm also gonna beta nominate this since it's a pretty simple to understand and self-contained fix. |
well, I guess it didn't ICE in the motivating example that Waffle originally found... but idk. Worth nominating at least. Hopefully this is the last of the arg mismatch algorithm issues, hehe. |
☔ The latest upstream changes (presumably #98482) made this pull request unmergeable. Please resolve the merge conflicts. |
src/test/ui/issues/issue-3044.rs
Outdated
//~^^ ERROR mismatched types | ||
//~| ERROR this function takes 2 arguments but 1 argument was supplied | ||
//~^ ERROR this function takes 2 arguments but 1 argument was supplied | ||
}); |
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.
Incorrect formatting
}); | |
}); |
r=me after rebase |
…ects and we've already checked all args
e1770a2
to
6858fbc
Compare
@bors r=estebank |
@bors p=1 -- beta-nominated |
☀️ Test successful - checks-actions |
Finished benchmarking commit (c6ff90b): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
@compiler-errors it looks like this doesn't backport to the beta branch cleanly. Can you prepare a beta-branch targeted PR with this PR's changes that we can review and merge? |
I can do that. Thanks for the heads up. |
Oh, yeah, this definitely doesn't cleanly backport. For some reason I had thought that the PR this is building off (#97542) was landing in 1.63, not 1.64. I will have to use a different solution for 1.63. |
Beta backport will be done in separate PR with another approval, so removing tags |
…rk-Simulacrum Add some additional double-adjustment regression tests I accidentally missed these when I rebased rust-lang#98785 cc rust-lang#98894 and rust-lang#98897
Fixes a weird suggestion in #98784
found later:
Fixes #98894
Fixes #98897