rust/compiler
Matthias Krüger 31473928e9
Rollup merge of #99384 - compiler-errors:issue-99375, r=oli-obk
use body's param-env when checking if type needs drop

The type comes from the body, so we should be using the body's param-env, as opposed to the ADT's param env, because we know less in the latter compared to the former.

Fixes #99375
2022-07-19 13:30:45 +02:00
..
2022-07-16 20:17:58 -03:00
2022-07-16 20:17:58 -03:00
2022-07-12 16:25:16 +04:00
2022-07-16 20:17:58 -03:00
2022-07-16 20:17:58 -03:00
2022-07-16 20:17:58 -03:00
2022-07-16 20:17:58 -03:00
2022-07-16 20:17:58 -03:00
2022-07-16 20:17:58 -03:00
2022-07-06 06:41:53 +01:00