about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-21 18:12:06 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-21 18:12:06 +0200
commit91493df7523c36ec10fe576f1944e0bad4c105a2 (patch)
tree0aaefa116d72a79242e0bff058d2073c5f2bfb1d /src/libstd/sys/unix/stack_overflow.rs
parent2afe47d1688726fd1e836deedaa0ad8c2ec891c7 (diff)
downloadrust-91493df7523c36ec10fe576f1944e0bad4c105a2.tar.gz
rust-91493df7523c36ec10fe576f1944e0bad4c105a2.zip
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