about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2020-05-06 10:17:38 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2020-05-06 12:15:26 +1000
commitafd8a4e7ec4c5b6d8296d6d9109389b27e074980 (patch)
tree1b6629d8c8274d5f23b1ed17963c6dbb5a7a73a1 /src/libstd/sys/unix/stack_overflow.rs
parenta17234ca542f45028d846c7ec95c0a19d96df743 (diff)
downloadrust-afd8a4e7ec4c5b6d8296d6d9109389b27e074980.tar.gz
rust-afd8a4e7ec4c5b6d8296d6d9109389b27e074980.zip
Improve `LocalDecl` creation.
This commit adds some new `LocalDecl` methods:
- `with_source_info`, a most general constructor.
- `new`, a variant of `with_source_info` which represents the most
  common use case.
- `internal` a modifying method (like the already present `immutable`).

It removes some old `LocalDecl` methods:
- `new_internal` and `new_local`, because they're subsumed by the new
  methods.
- `new_return_place`, because it was identical to `new_temp`.

Finally, it cleans up all the use sites.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions