diff options
| author | bors <bors@rust-lang.org> | 2024-06-01 12:24:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-01 12:24:44 +0000 |
| commit | acaf0aeed0dfbfc4be9f996344e2c5f294cf5794 (patch) | |
| tree | ce4b494d9c7f2b8c5d43a7341278cca937d0ed84 /compiler/rustc_query_impl/src | |
| parent | 05965ae238403d8c141170b411245a62aa046240 (diff) | |
| parent | d3c8e6788cfbcc64ab7710cab7a56e276e7d5a7a (diff) | |
| download | rust-acaf0aeed0dfbfc4be9f996344e2c5f294cf5794.tar.gz rust-acaf0aeed0dfbfc4be9f996344e2c5f294cf5794.zip | |
Auto merge of #125821 - Luv-Ray:issue#121126, r=fee1-dead
Check index `value <= 0xFFFF_FF00`
<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.
This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using
r? <reviewer name>
-->
fixes #121126
check `idx <= FieldIdx::MAX_AS_U32` before calling `FieldIdx::from_u32` to avoid panic.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
