about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-07-22 23:37:37 +0000
committerbors <bors@rust-lang.org>2015-07-22 23:37:37 +0000
commitcb4f102e38ef306e7e8e4ac747f25799b4cf7415 (patch)
treeaca5ea0c474ab1a3bd1ed3944cee7414e1da05ba /src/libstd/sys/unix/stack_overflow.rs
parent4234c4487afb892b077bdfb7a002ad4fc2f2a0bd (diff)
parent91493df7523c36ec10fe576f1944e0bad4c105a2 (diff)
downloadrust-cb4f102e38ef306e7e8e4ac747f25799b4cf7415.tar.gz
rust-cb4f102e38ef306e7e8e4ac747f25799b4cf7415.zip
Auto merge of #27191 - pnkfelix:sidestep-unary-negate-warning, r=alexcrichton
Work around unary negation to-be-feature-gated warning by replacing references to `-1` as a `ast::NodeId` with `ast::DUMMY_NODE_ID`, which seems like a better notation to use (it is currently also `-1`.

(AFAICT the code is not *relying* on the value `-1` anywhere, it really just needed a dummy value for when the input is `None`.)
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions