-
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
Move fallback_has_occurred
state tracking to FnCtxt
#103865
Move fallback_has_occurred
state tracking to FnCtxt
#103865
Conversation
r? @eholk (rustbot has picked a reviewer for you, use r? to override) |
@@ -9,14 +9,14 @@ use rustc_middle::ty::{self, Ty}; | |||
impl<'tcx> FnCtxt<'_, 'tcx> { | |||
/// Performs type inference fallback, returning true if any fallback | |||
/// occurs. |
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.
This comment is now outdated, same with fallback_if_possible
below.
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.
Thanks 😃
93bda09
to
af88b55
Compare
☔ The latest upstream changes (presumably #103998) made this pull request unmergeable. Please resolve the merge conflicts. |
af88b55
to
bc345d7
Compare
@bors r+ |
Rollup of 7 pull requests Successful merges: - rust-lang#103446 (Specialize `iter::ArrayChunks::fold` for TrustedRandomAccess iterators) - rust-lang#103651 (Fix `rustc_parse_format` spans following escaped utf-8 multibyte chars) - rust-lang#103865 (Move `fallback_has_occurred` state tracking to `FnCtxt`) - rust-lang#103955 (Update linker-plugin-lto.md to contain up to Rust 1.65) - rust-lang#103987 (Remove `in_tail_expr` from FnCtxt) - rust-lang#104067 (fix debuginfo for windows_gnullvm_base.rs) - rust-lang#104094 (fully move `on_unimplemented` to `error_reporting`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Removes a ton of callsites that defaulted to
false