diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-02-20 10:37:35 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-03-13 11:21:31 -0400 |
| commit | 80b4c45ee47833338164c6eb015f421890712863 (patch) | |
| tree | 74cdb96ed797789d78ed7cc6aaef20d7c63b18e4 /src/rustllvm/RustWrapper.cpp | |
| parent | 64d4ed300b52834954179284a0d0a6eb5084d39e (diff) | |
| download | rust-80b4c45ee47833338164c6eb015f421890712863.tar.gz rust-80b4c45ee47833338164c6eb015f421890712863.zip | |
change `ParamEnv::and` to sometimes keep the environment [VIC]
In general, we've been moving towards a semantics where you can have contradictory where-clauses, and we try to honor them. There are already existing run-pass tests where we take that philosophy as well (e.g., `compile-fail/issue-36839.rs`). The current behavior of `and`, where it strips the environment, breaks that code.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
