-
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
Return a FxIndexSet in is_late_bound query. #99219
Conversation
This return value is iterated upon by borrowck, hence the need to preserve a deterministic iteration order.
|
This comment has been minimized.
This comment has been minimized.
A job failed! Check out the build log: (web) (plain) Click to see the possible cause of the failure (guessed by this bot)
|
@@ -482,6 +482,11 @@ fn convert_named_region_map(tcx: TyCtxt<'_>, named_region_map: NamedRegionMap) - | |||
let def_id = tcx.hir().local_def_id(hir_id); | |||
map.insert(def_id); | |||
} | |||
for (_, late_bound) in &mut rl.late_bound { | |||
late_bound.sort_by(|&a, &b| { |
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.
nit: I think it would be good to leave a comment here explaining why we're doing this sort but that doesn't need to block a merge
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+
, but we'll add it to a stable release PR rather than merging it here.
Closing since this was bundled into #99299. |
…imulacrum [stable] 1.62.1 release This bundles: * Windows: Fallback for overlapped I/O rust-lang#98950 * don't succeed evaluate_obligation query if new opaque types were registered rust-lang#98614 * Mitigate MMIO stale data vulnerability rust-lang#98126 * Return a FxIndexSet in is_late_bound query. rust-lang#99219 Also bumps the version number to 1.62.1 and includes a short release notes section for the release. r? `@Mark-Simulacrum`
Fixes #98890
r? @cuviper