rust/src
bors 3af60f831f Auto merge of #31954 - japaric:rfc243, r=nikomatsakis
implement the `?` operator

The `?` postfix operator is sugar equivalent to the try! macro, but is more amenable to chaining:
`File::open("foo")?.metadata()?.is_dir()`.

`?` is accepted on any *expression* that can return a `Result`, e.g. `x()?`, `y!()?`, `{z}?`,
`(w)?`, etc. And binds more tightly than unary operators, e.g. `!x?` is parsed as `!(x?)`.

cc #31436

---

cc @aturon @eddyb
2016-03-08 01:31:04 -08:00
..
bootstrap rustbuild: fix cross compilation of libstd to i686-unknown-linux-musl 2016-03-06 08:19:51 -05:00
build_helper
compiler-rt@b6087e82ba
compiletest
doc reference.md: clarify negation. 2016-03-07 04:42:14 +08:00
driver
error_index_generator
etc Auto merge of #29734 - Ryman:whitespace_consistency, r=Aatch 2016-03-07 20:06:17 -08:00
grammar
jemalloc@aab1c0a0e0
liballoc
liballoc_jemalloc rustbuild: fix cross compilation of libstd to i686-unknown-linux-musl 2016-03-06 08:19:51 -05:00
liballoc_system
libarena
libbacktrace
libcollections Auto merge of #32051 - steveklabnik:gh9447, r=bluss 2016-03-07 06:54:36 +00:00
libcollectionstest
libcore Auto merge of #32051 - steveklabnik:gh9447, r=bluss 2016-03-07 06:54:36 +00:00
libcoretest
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc@e19309c8b4 Fix building libstd on on emscripten targets. 2016-03-07 17:22:55 +10:00
liblog
librand
librbml
librustc Auto merge of #31954 - japaric:rfc243, r=nikomatsakis 2016-03-08 01:31:04 -08:00
librustc_back
librustc_bitflags
librustc_borrowck Auto merge of #31606 - Ms2ger:ClosureKind, r=eddyb 2016-03-07 22:57:38 -08:00
librustc_data_structures
librustc_driver
librustc_front implement the ? operator 2016-03-07 14:39:39 -05:00
librustc_lint
librustc_llvm
librustc_metadata
librustc_mir Auto merge of #31606 - Ms2ger:ClosureKind, r=eddyb 2016-03-07 22:57:38 -08:00
librustc_passes
librustc_platform_intrinsics
librustc_plugin
librustc_privacy
librustc_resolve
librustc_trans Auto merge of #31606 - Ms2ger:ClosureKind, r=eddyb 2016-03-07 22:57:38 -08:00
librustc_typeck Auto merge of #31606 - Ms2ger:ClosureKind, r=eddyb 2016-03-07 22:57:38 -08:00
librustc_unicode Auto merge of #29734 - Ryman:whitespace_consistency, r=Aatch 2016-03-07 20:06:17 -08:00
librustdoc Auto merge of #32055 - mitaa:rdoc-strip-priv-imports, r=alexcrichton 2016-03-06 17:08:36 +00:00
libserialize
libstd Auto merge of #31986 - ashleysommer:emscripten_fixes, r=alexcrichton 2016-03-08 01:04:36 +00:00
libsyntax Auto merge of #31954 - japaric:rfc243, r=nikomatsakis 2016-03-08 01:31:04 -08:00
libsyntax_ext
libterm
libtest
llvm@69ef168544
rt
rtstartup
rust-installer@c37d3747da
rustbook
rustc
rustllvm
test Auto merge of #31954 - japaric:rfc243, r=nikomatsakis 2016-03-08 01:31:04 -08:00
nightlies.txt
snapshots.txt