rust/src/test
bors 42584d36f6 Auto merge of #35777 - nrc:carrier3, r=@nikomatsakis
Carrier trait (third attempt)

This adds a `Carrier` trait to operate with `?`. The only public implementation is for `Result`, so effectively the trait does not exist, however, it ensures future compatibility for the `?` operator. This is not intended to be used, nor is it intended to be a long-term solution.

Although this exact PR has not been through Crater, I do not expect it to be a breaking change based on putting numerous similar PRs though Crater in the past.

cc:
* [? tracking issue](https://github.com/rust-lang/rust/issues/31436)
* [previous PR](https://github.com/rust-lang/rust/pull/35056)
* [RFC issue](https://github.com/rust-lang/rfcs/issues/1718) for discussion of long-term Carrier trait solutions.

r? @nikomatsakis
2016-08-21 15:12:43 -07:00
..
codegen
codegen-units rustc: move the SelfSpace before TypeSpace in Substs. 2016-08-17 05:50:57 +03:00
compile-fail Auto merge of #35777 - nrc:carrier3, r=@nikomatsakis 2016-08-21 15:12:43 -07:00
compile-fail-fulldeps
debuginfo
incremental
mir-opt rustc: remove ParamSpace from Substs. 2016-08-17 06:32:00 +03:00
parse-fail Auto merge of #33922 - estebank:doc-comment, r=alexcrichton 2016-08-19 18:14:53 -07:00
pretty
run-fail
run-fail-fulldeps Replace local backtrace with def-use, repair std macro spans 2016-08-17 14:26:14 -07:00
run-make
run-pass Auto merge of #35777 - nrc:carrier3, r=@nikomatsakis 2016-08-21 15:12:43 -07:00
run-pass-fulldeps Auto merge of #35538 - cgswords:libproc_macro, r=nrc 2016-08-16 16:35:10 -07:00
run-pass-valgrind
rustdoc Redirect 2016-08-19 08:20:06 +12:00
ui wording fixes in error messages 2016-08-19 16:05:37 -07:00