Matthias Krüger 909574e411
Rollup merge of #132559 - bvanjoi:fix-132534, r=compiler-errors
find the generic container rather than simply looking up for the assoc with const arg

Fixes #132534

This issue is caused by mismatched generic parameters. Previously, it tried to find `T` in `trait X`, but after this change, it will find `T` in `fn a`.

r? `@compiler-errors`  as this assertion was introduced by you.
2024-11-04 18:12:47 +01:00
..
2024-11-03 18:59:31 +00:00
2024-10-18 00:33:50 +02:00
2024-10-18 00:33:50 +02:00
2024-10-18 00:33:50 +02:00