diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2014-02-23 12:25:11 +0100 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-24 21:22:26 -0800 |
| commit | 0309104cc59d6290fba2fe6dd9bfdc18aacab5f8 (patch) | |
| tree | b2b69f5c95c886bc044d7c3e31331be162216127 /src/libsyntax/parse/parser.rs | |
| parent | 8812e8ad4957e3e201dabb62c6c3a8e0b10333a7 (diff) | |
| download | rust-0309104cc59d6290fba2fe6dd9bfdc18aacab5f8.tar.gz rust-0309104cc59d6290fba2fe6dd9bfdc18aacab5f8.zip | |
Mark by-value parameters that are passed on the stack as nocapture
The by-value argument is a copy that is only valid for the duration of the function call, therefore keeping any pointer to it that outlives the call is illegal.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
