about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2022-06-30 10:26:17 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2022-07-15 18:50:33 -0400
commit44b476eb2bc9adddd3a247180d57782d8d07f788 (patch)
tree3f6a267be8c10077dc667a041aa107848a98e728 /compiler/rustc_mir_transform/src/coverage/debug.rs
parentbcb9c2352bc8f45a5f4e5d57fdb68cfbc6161b24 (diff)
downloadrust-44b476eb2bc9adddd3a247180d57782d8d07f788.tar.gz
rust-44b476eb2bc9adddd3a247180d57782d8d07f788.zip
promote placeholder bounds to 'static obligations
In NLL, when we are promoting a bound out from a closure,
if we have a requirement that `T: 'a` where `'a` is in a
higher universe, we were previously ignoring that, which is
totally wrong. We should be promoting those constraints to `'static`,
since universes are not expressible across closure boundaries.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions