about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-09-17 14:00:33 -0400
committerNiko Matsakis <niko@alum.mit.edu>2018-09-26 09:38:26 -0400
commit689b791422b7c429e4efcd224b7412c0e47e0638 (patch)
tree283f7137a47732ddabb42cb08025ac5fb58aef0c /src/rustllvm/RustWrapper.cpp
parent4b193cb92aee0d57dc7bfcf5e22e8e168eec6975 (diff)
downloadrust-689b791422b7c429e4efcd224b7412c0e47e0638.tar.gz
rust-689b791422b7c429e4efcd224b7412c0e47e0638.zip
use approx. bounds to decide whether to add outlives obligations
Before, if we had a projection like `<T as Foo<'0>>::Bar: 'x` and a
where clause like `<T as Foo<'a>>::Bar: 'a`, we considered those to
have nothing to do with one another. Therefore, we would use the
"overconstrained" path of adding `T: 'x` and `'0: 'x` requirements. We
now do a "fuzzy" match where we erase regions first and hence we see
the env bound `'a`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions