Commit Graph

8 Commits

Author SHA1 Message Date
Simon Sapin ba4f310e3f Revert "Add TryFrom and TryInto to the prelude"
This reverts commit 09008cc23f.
2018-03-30 15:54:05 +02:00
Simon Sapin 09008cc23f Add TryFrom and TryInto to the prelude 2018-03-26 23:36:04 +02:00
Carol (Nichols || Goulding) e168aa385b Reexport -> re-export in prose and documentation comments 2018-01-15 13:36:53 -05:00
Srinivas Reddy Thatiparthy 7a491bb66d Run rustfmt on libcore/prelude folder 2016-10-16 22:13:04 +05:30
Vadim Petrochenkov 7e2ffc7090 Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
Alex Crichton 5990249e48 core: Stabilize prelude::v1
This commit stabilizes the prelude::v1 module of libcore after verifying that
it's a subset of the prelude of the standard library with the addition of a few
extension traits.
2015-08-17 19:35:52 -07:00
Alex Crichton b7dcf272d9 core: Fill out issues for unstable features 2015-08-15 18:09:16 -07:00
Alex Crichton 5cccf3cd25 syntax: Implement #![no_core]
This commit is an implementation of [RFC 1184][rfc] which tweaks the behavior of
the `#![no_std]` attribute and adds a new `#![no_core]` attribute. The
`#![no_std]` attribute now injects `extern crate core` at the top of the crate
as well as the libcore prelude into all modules (in the same manner as the
standard library's prelude). The `#![no_core]` attribute disables both std and
core injection.

[rfc]: https://github.com/rust-lang/rfcs/pull/1184
2015-08-03 17:23:01 -07:00