diff options
| author | bors <bors@rust-lang.org> | 2015-01-03 14:20:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-03 14:20:47 +0000 |
| commit | fe7e285d0cbae8e44c3853a6965caf2b575dcfcc (patch) | |
| tree | b373f2a7540f38f2e2e70a5fd194839e2ddf576d /src/libstd/sys/unix/stack_overflow.rs | |
| parent | fc2ba13939aa9672d886beb06efde7aeda2d5f7f (diff) | |
| parent | cbeff8b8b3bd28e99a3a034a41c8bdcd830fa884 (diff) | |
| download | rust-fe7e285d0cbae8e44c3853a6965caf2b575dcfcc.tar.gz rust-fe7e285d0cbae8e44c3853a6965caf2b575dcfcc.zip | |
auto merge of #20432 : nikomatsakis/rust/fn-inference-2, r=eddyb
Previously, the borrow mode of each upvar was inferred as part of regionck. This PR moves it into its own separate step. It also employs the `ExprUseVisitor`, further simplifying the code. The eventual goal is to support better inference of `Fn` vs `FnMut` vs `FnOnce` that is not based on the expected type, as well as supporting individual by-move upvars. r? @eddyb
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
