about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-07-17 08:29:02 +0000
committerbors <bors@rust-lang.org>2019-07-17 08:29:02 +0000
commitd56128d2919132aceaf74cc3c68a4554f5445fce (patch)
treedb1797e894005e2c7c911c0c00151de2b9678a14 /src/libsyntax/parse/parser
parentbf16480f9cf124630f4a4ffc6d8a57b72fbd5ce9 (diff)
parent74c8d984dbd73c070f9c9a5ac991cc271ff05164 (diff)
downloadrust-d56128d2919132aceaf74cc3c68a4554f5445fce.tar.gz
rust-d56128d2919132aceaf74cc3c68a4554f5445fce.zip
Auto merge of #62596 - cuviper:expect_none, r=rkruppe
Add Option::expect_none(msg) and unwrap_none()

These are `Option` analogues to `Result::expect_err` and `unwrap_err`.
Diffstat (limited to 'src/libsyntax/parse/parser')
0 files changed, 0 insertions, 0 deletions