mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
b733736ea2
remove incorrect fast path Using `tcx.is_copy_modulo_regions` drops information from the current `typing_env`. Writing a regression test for this is really hard. We need to prove `Copy` of something that doesn't directly reference a coroutine or an opaque, but does so indirectly. cc rust-lang/rust#146813.