Skip to content
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

Entirely remove DUMMY_HIR_ID #71116

Merged
merged 2 commits into from
Apr 15, 2020
Merged

Conversation

marmeladema
Copy link
Contributor

@marmeladema marmeladema commented Apr 14, 2020

Some helpers functions have been introduced to deal with (buggy) cases
where either a NodeId or a DefId do not have a corresponding HirId.
Those cases are tracked in issue #71104.

…able

Some helpers functions have been introduced to deal with (buggy) cases
where either a `NodeId` or a `DefId` do not have a corresponding `HirId`.
Those cases are tracked in issue rust-lang#71104.
@marmeladema
Copy link
Contributor Author

r? @eddyb

@rust-highfive rust-highfive assigned eddyb and unassigned cramertj Apr 14, 2020
@eddyb
Copy link
Member

eddyb commented Apr 14, 2020

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Apr 14, 2020

⌛ Trying commit c15e13a with merge 433e90a8704a6c96d2560173ac41b079b0e58442...

@bors
Copy link
Contributor

bors commented Apr 14, 2020

☀️ Try build successful - checks-azure
Build commit: 433e90a8704a6c96d2560173ac41b079b0e58442 (433e90a8704a6c96d2560173ac41b079b0e58442)

@rust-timer
Copy link
Collaborator

Queued 433e90a8704a6c96d2560173ac41b079b0e58442 with parent 513a647, future comparison URL.

@eddyb
Copy link
Member

eddyb commented Apr 14, 2020

Looks fine to me.

@bors r+

@bors
Copy link
Contributor

bors commented Apr 14, 2020

📌 Commit c15e13a has been approved by eddyb

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 14, 2020
Centril added a commit to Centril/rust that referenced this pull request Apr 15, 2020
…=eddyb

Entirely remove `DUMMY_HIR_ID`

Some helpers functions have been introduced to deal with (buggy) cases
where either a `NodeId` or a `DefId` do not have a corresponding `HirId`.
Those cases are tracked in issue rust-lang#71104.
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 15, 2020
Rollup of 4 pull requests

Successful merges:

 - rust-lang#70891 (unit rvalue, use constant `()` instead of tuple)
 - rust-lang#71030 (rustc_target: Refactor target specifications related to Windows and UEFI)
 - rust-lang#71100 (Miri: expand frame hooks)
 - rust-lang#71116 (Entirely remove `DUMMY_HIR_ID`)

Failed merges:

r? @ghost
@bors bors merged commit 7341cad into rust-lang:master Apr 15, 2020
matthiaskrgr added a commit to matthiaskrgr/rust-clippy that referenced this pull request Apr 15, 2020
imports removed DUMMY_HIR_IR into clippy.
matthiaskrgr added a commit to matthiaskrgr/rust-clippy that referenced this pull request Apr 15, 2020
bors added a commit to rust-lang/rust-clippy that referenced this pull request Apr 15, 2020
bors added a commit to rust-lang/rust-clippy that referenced this pull request Apr 15, 2020
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Apr 15, 2020
Changes:
````
Rename dummy_hir_id -> parent_hir_id
rustup rust-lang#71116
Change default many single char names threshold
Better precedence case management + more tests
Use only check_expr with parent expr and precedence
Check for Deref trait impl + add fixed version
Report using stmts and expr + tests
Global rework + fix imports
Working basic dereference clip
Add test for zero single char names
Make the single char threshold strict inequality
large_enum_variant: Report sizes of variants
Refactor: Use rustc's `match_def_path`
deps: bump compiletest-rs from 0.4 to 0.5
rustup rust-lang#70643
Explain panic on `E0463` in integration tests
Temporarily disable rustfmt integration test
result_map_unit_fn: Fix incorrect UI tests
Cleanup: Use rustc's is_proc_macro_attr
Cleanup: Use our `sym!` macro more
Fixes rust-lang#5405: redundant clone false positive with arrays
Disallow bit-shifting in `integer_arithmetic` lint
update lints
cargo dev fmt
Make use of Option/Result diagnostic items
Make use of some existing diagnostic items
Say that diagnostic items are preferred over paths
verbose_bit_mask: fix bit mask used in docs
Update documentation for new_ret_no_self
Update doc generation script
Add lint on large const arrays
Make the epsilon note spanless
Split check_fn function
Indicate when arrays are compared in error message
Make epsilon note spanless when comparing arrays
Add float cmp const tests for arrays
Add float cmp tests for arrays
Handle constant arrays with single value
Don't show comparison suggestion for arrays
Allow for const arrays of zeros
Handle evaluating constant index expression
Add handling of float arrays to miri_to_const
Update stderr of float_cmp test
Update field names in is_float
Add tests for float in array comparison
Add lint when comparing floats in an array
````

Fixes rust-lang#71114
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request May 5, 2020
Changes:
````
Rename dummy_hir_id -> parent_hir_id
rustup rust-lang/rust#71116
Change default many single char names threshold
Better precedence case management + more tests
Use only check_expr with parent expr and precedence
Check for Deref trait impl + add fixed version
Report using stmts and expr + tests
Global rework + fix imports
Working basic dereference clip
Add test for zero single char names
Make the single char threshold strict inequality
large_enum_variant: Report sizes of variants
Refactor: Use rustc's `match_def_path`
deps: bump compiletest-rs from 0.4 to 0.5
rustup rust-lang/rust#70643
Explain panic on `E0463` in integration tests
Temporarily disable rustfmt integration test
result_map_unit_fn: Fix incorrect UI tests
Cleanup: Use rustc's is_proc_macro_attr
Cleanup: Use our `sym!` macro more
Fixes rust-lang#5405: redundant clone false positive with arrays
Disallow bit-shifting in `integer_arithmetic` lint
update lints
cargo dev fmt
Make use of Option/Result diagnostic items
Make use of some existing diagnostic items
Say that diagnostic items are preferred over paths
verbose_bit_mask: fix bit mask used in docs
Update documentation for new_ret_no_self
Update doc generation script
Add lint on large const arrays
Make the epsilon note spanless
Split check_fn function
Indicate when arrays are compared in error message
Make epsilon note spanless when comparing arrays
Add float cmp const tests for arrays
Add float cmp tests for arrays
Handle constant arrays with single value
Don't show comparison suggestion for arrays
Allow for const arrays of zeros
Handle evaluating constant index expression
Add handling of float arrays to miri_to_const
Update stderr of float_cmp test
Update field names in is_float
Add tests for float in array comparison
Add lint when comparing floats in an array
````

Fixes #71114
@marmeladema marmeladema deleted the dummy-hir-id-removal branch April 24, 2021 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants