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 [MIR] Add Storage{Live,Dead} statements to emit llvm.lifetime.{start,end}. 2016-08-14 06:34:14 +03:00
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 diagnostically note source of overruling outer forbid 2016-07-30 15:18:07 -07:00
debuginfo [MIR] Add Storage{Live,Dead} statements to emit llvm.lifetime.{start,end}. 2016-08-14 06:34:14 +03:00
incremental Fix incremental/commandline-args test. 2016-08-11 10:59:05 -04:00
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 Fix pretty-printing of lifetime bound 2016-06-29 23:40:29 +09:00
run-fail Add explanations to tests 2016-08-13 21:37:09 +08:00
run-fail-fulldeps Replace local backtrace with def-use, repair std macro spans 2016-08-17 14:26:14 -07:00
run-make Auto merge of #35637 - japaric:no-builtins-lto, r=alexcrichton 2016-08-16 10:13:18 -07:00
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 move coerce-match{,-calls} into run-pass-valgrind 2016-07-24 15:50:10 -04:00
rustdoc Redirect 2016-08-19 08:20:06 +12:00
ui wording fixes in error messages 2016-08-19 16:05:37 -07:00