about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-03-04 18:16:43 +0000
committerbors <bors@rust-lang.org>2018-03-04 18:16:43 +0000
commit259e4a67843d5fbe6761a5e442836d7109d72cbe (patch)
tree13689b1b24e4cd17b737a0892583e7888c915f7b /src/libstd/sys/unix/process/process_unix.rs
parent1e1bfc715f8dfe36a38d8fae36fcbe92e7463a3f (diff)
parent99c42dccfa7d00b6f488bcd61a5cf141d2112acf (diff)
downloadrust-259e4a67843d5fbe6761a5e442836d7109d72cbe.tar.gz
rust-259e4a67843d5fbe6761a5e442836d7109d72cbe.zip
Auto merge of #48592 - spastorino:borrowed_value_error, r=nikomatsakis
[NLL] Avoid borrowed value must be valid for lifetime '_#2r..." in errors

Closes #48428

- [x] If NLL is enabled, [do not invoke `note_and_explain_region`](https://github.com/rust-lang/rust/issues/48428#issuecomment-367691123)
- [x] Modify `-Zdump-nll-cause` to not print [the overwhelming debug output here](https://github.com/rust-lang/rust/blob/master/src/librustc_mir/borrow_check/nll/region_infer/mod.rs#L1288-L1299). This way we should I believe at least get nice-ish output for [our original example](https://github.com/rust-lang/rust/issues/48428#issue-299364536).
- [x] Extend `explain_why_borrow_contains_point` to also work for "universal lifetimes" like the `'a` in [the example at the end of this comment](https://github.com/rust-lang/rust/issues/48428#issuecomment-367691123).
- [ ] Figure out how to enable causal information all the time (but that is https://github.com/rust-lang/rust/issues/46590).
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions