about summary refs log tree commit diff
path: root/tests/codegen/integer-overflow.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-20 00:55:13 +0100
committerGitHub <noreply@github.com>2025-02-20 00:55:13 +0100
commit4f84ba1a20d1451e075d0ffb52d662a6abed1608 (patch)
tree154424e4708cf34c342bfcda31cc957cdbb8aad4 /tests/codegen/integer-overflow.rs
parent8ccfd06e46881701f7ddd500bb45d71a97ecdb59 (diff)
parentb02eac37ffa30ad4f0ffb703ac7e598fa7213c7a (diff)
downloadrust-4f84ba1a20d1451e075d0ffb52d662a6abed1608.tar.gz
rust-4f84ba1a20d1451e075d0ffb52d662a6abed1608.zip
Rollup merge of #137253 - compiler-errors:bevy-hack, r=jackh726
Restrict `bevy_ecs` `ParamSet` hack

This limits the bevy WF hack to only apply to ADTs named `ParamSet` that come from crates named `bevy_ecs`, and references to the latter.

Previously, we were applying it to all ADTs that contained the substring `"ParamSet"`. This could show up anywhere in the ADT name, and it could come from any crate. It's a bit concerning since other code could theoretically begin to rely on this behavior too (though I don't expect it to)

This simplifies the logic a bit and turns it into a visitor.

r? `@jackh726`
Diffstat (limited to 'tests/codegen/integer-overflow.rs')
0 files changed, 0 insertions, 0 deletions