Skip to content

remove some oldmap::Hashmap from librustc - #5201

Closed
yjh0502 wants to merge 1 commit into
rust-lang:incomingfrom
yjh0502:remove_old_map
Closed

remove some oldmap::Hashmap from librustc#5201
yjh0502 wants to merge 1 commit into
rust-lang:incomingfrom
yjh0502:remove_old_map

Conversation

@yjh0502

Copy link
Copy Markdown
Contributor

Switch some std::oldmap::HashMap to core::hashmap::linear::LinearMap.
related to #4986

@Thiez

Thiez commented Mar 3, 2013

Copy link
Copy Markdown
Contributor

I see a few instances of LinearMap(Something,()). Wouldn't it make more sense to replace those by LinearSet?

@yjh0502

Copy link
Copy Markdown
ContributorAuthor

@Thiez: I agree, but I encountered several weird bug while changing HashMap into LinearMap, or LinearMap<Something, ()> to LinearSet (for example, segmentation fault or illegal instruction exception). I don't know why it happens.

@yjh0502

Copy link
Copy Markdown
ContributorAuthor

I rebased the patch.

@graydon

Copy link
Copy Markdown
Contributor

Unfortunately this requires another rebase.

@catamorphism

Copy link
Copy Markdown
Contributor

Sorry, I tried rebasing but way too many conflicts. I'm closing this; please open a new PR if you have time to rebase it, @yjh0502 . Thanks!

bors added a commit to rust-lang-ci/rust that referenced this pull request May 2, 2020
…sy-float-literal-restriction, r=flip1995
Move check for lossy whole-number floats out of `excessive_precision`
changelog: Add new lint `lossy_float_literal` to detect lossy whole number float literals and move it out of `excessive_precision` again.
Fixesrust-lang#5201
RalfJung added a commit to RalfJung/rust that referenced this pull request Jul 19, 2026
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
5201: Add function to test completion edit r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@yjh0502@Thiez@graydon@catamorphism