diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-05-21 08:16:07 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-05-31 19:44:05 -0400 |
| commit | 5cff88f2a0646297e76539fd90a084d6926fdf7d (patch) | |
| tree | f7bdd28609a873f70925b5dba7d761dd1e913d85 /src/rustllvm/RustWrapper.cpp | |
| parent | b40529c5a9201efccead746e4c01f22dcbb89c8c (diff) | |
| download | rust-5cff88f2a0646297e76539fd90a084d6926fdf7d.tar.gz rust-5cff88f2a0646297e76539fd90a084d6926fdf7d.zip | |
add a higher-ranked match routine
Currently, when projecting out of a higher-ranked where-clause, we instantiate all higher-ranked regions with lifetime variables. This is unnecessary since the language rules ought to guarantee (modulo #32330) that each of those higher-ranked regions is equated with some regions from the input types. This routine figures out what those regions are and just uses them. Also, since #32330 is not fully fixed, it detects when we may have unconstrained variables and indicates that in its return value.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
