]> git.lizzy.rs Git - rust.git/commit
Auto merge of #46479 - bkchr:termination_trait, r=arielb1
authorbors <bors@rust-lang.org>
Wed, 27 Dec 2017 15:41:51 +0000 (15:41 +0000)
committerbors <bors@rust-lang.org>
Wed, 27 Dec 2017 15:41:51 +0000 (15:41 +0000)
commitbfbb1f5ce1e6a85a03219767cfc5c9bab3f7bf9e
treeb72634f6bee5eb0e51d428fe53ecd1c28c11b907
parent63efff5a71269ae22b8769e2e6f9aaa2f940f823
parent09f94bea4aca7696b58dd7e6668ca27d71908984
Auto merge of #46479 - bkchr:termination_trait, r=arielb1

Implements RFC 1937: `?` in `main`

This is the first part of the RFC 1937 that supports new
`Termination` trait in the rust `main` function.

Thanks @nikomatsakis, @arielb1 and all other people in the gitter channel for all your help!

The support for doctest and `#[test]` is still missing, bu as @nikomatsakis said, smaller pull requests are better :)
src/libsyntax/feature_gate.rs