rust/tests/ui/implied-bounds
Matthias Krüger 4f84ba1a20
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`
2025-02-20 00:55:13 +01:00
..
assoc-ty-wf-used-to-get-assoc-ty.rs
assoc-ty-wf-used-to-get-assoc-ty.stderr
bevy_world_query.rs Restrict bevy hack 2025-02-19 03:58:31 +00:00
dyn-erasure-no-tait.rs Add tests for #112905 2024-07-07 19:38:04 +03:00
dyn-erasure-tait.rs Add tests for #112905 2024-07-07 19:38:04 +03:00
from-trait-impl.rs
from-trait-impl.stderr
gluon_salsa.rs
hrlt-implied-trait-bounds-guard.rs
hrlt-implied-trait-bounds-guard.stderr
hrlt-implied-trait-bounds-roundtrip.rs
ice-unbound-region-vars.rs
impl-header-unnormalized-types.rs
impl-header-unnormalized-types.stderr
impl-implied-bounds-compatibility-unnormalized.rs
impl-implied-bounds-compatibility-unnormalized.stderr fix: Alloc new errorcode E0803 for E0495 2025-02-15 12:18:30 +08:00
impl-implied-bounds-compatibility.rs
impl-implied-bounds-compatibility.stderr
implied_bounds_entailment_alias_var.rs
implied_bounds_entailment_skip_non_outlives.rs
implied-bounds-entailment-wf-vars-issue-114783-1.rs
implied-bounds-entailment-wf-vars-issue-114783-2.rs
implied-bounds-on-nested-references-plus-variance-2.rs Adjust tests 2024-09-05 06:37:38 -04:00
implied-bounds-on-nested-references-plus-variance-early-bound.rs Adjust tests 2024-09-05 06:37:38 -04:00
implied-bounds-on-nested-references-plus-variance-early-bound.stderr Adjust tests 2024-09-05 06:37:38 -04:00
implied-bounds-on-nested-references-plus-variance-unnormalized.rs Adjust tests 2024-09-05 06:37:38 -04:00
implied-bounds-on-nested-references-plus-variance-unnormalized.stderr Adjust tests 2024-09-05 06:37:38 -04:00
implied-bounds-on-nested-references-plus-variance.rs Adjust tests 2024-09-05 06:37:38 -04:00
implied-bounds-on-nested-references-plus-variance.stderr Adjust tests 2024-09-05 06:37:38 -04:00
implied-bounds-on-trait-hierarchy-1.rs
implied-bounds-on-trait-hierarchy-1.stderr
implied-bounds-on-trait-hierarchy-2.rs
implied-bounds-unconstrained-1.rs
implied-bounds-unconstrained-2.rs
issue-100690.rs instantiate higher ranked goals in candidate selection 2024-07-10 14:13:16 +02:00
issue-100690.stderr instantiate higher ranked goals in candidate selection 2024-07-10 14:13:16 +02:00
issue-101951.rs
issue-110161.rs
issue-110161.stderr
normalization-nested.lifetime.stderr
normalization-nested.rs
normalization-placeholder-leak.fail.stderr
normalization-placeholder-leak.rs
normalization-preserve-equality.borrowck.stderr
normalization-preserve-equality.rs
normalization.rs
references-err.rs
references-err.stderr
sod_service_chain.rs
sod_service_chain.stderr
trait-where-clause-implied.rs