Files
rust/src/libcore
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
..
2016-08-13 21:37:09 +08:00
2016-07-22 16:38:16 +02:00
2016-07-10 19:41:50 +02:00
2016-03-01 20:44:48 +08:00
2016-06-04 15:10:26 -07:00
2016-08-13 21:37:09 +08:00
2016-08-04 04:33:50 +03:00
2015-12-21 09:26:21 -08:00
2016-07-20 15:54:54 -07:00
2016-08-05 17:52:37 -04:00
2016-02-09 16:00:50 -05:00