diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-11-27 18:13:40 +0200 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-12-03 02:29:04 +0200 |
| commit | 25416c70814eb64a8cdd709af7aba1833832bebf (patch) | |
| tree | 1849dfba5d7129492e99f22510c57e8ab133dbb8 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a6e24fc31f4b4bb803e10a39902107f86916133a (diff) | |
| download | rust-25416c70814eb64a8cdd709af7aba1833832bebf.tar.gz rust-25416c70814eb64a8cdd709af7aba1833832bebf.zip | |
don't track borrows for empty regions
Region inference can create borrows for an empty region if the borrow is dead. In that case, there's no reason to track the borrow, but because there's no such thing as an EndRegion(ReEmpty) these borrows used to live for the entire function. Fixes #46161.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
