Rollup merge of #58106 - Centril:libfmt_macros-2018, r=oli-obk

libfmt_macros => 2018

Transitions `libfmt_macros` to Rust 2018; cc https://github.com/rust-lang/rust/issues/58099

r? @oli-obk
This commit is contained in:
kennytm 2019-02-06 00:28:52 +09:00 committed by GitHub
commit 06c9fe9641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "fmt_macros"
version = "0.0.0"
edition = "2018"
[lib]
name = "fmt_macros"

View File

@ -10,14 +10,15 @@
html_playground_url = "https://play.rust-lang.org/",
test(attr(deny(warnings))))]
#![feature(nll)]
#![deny(rust_2018_idioms)]
#![feature(rustc_private)]
pub use self::Piece::*;
pub use self::Position::*;
pub use self::Alignment::*;
pub use self::Flag::*;
pub use self::Count::*;
pub use Piece::*;
pub use Position::*;
pub use Alignment::*;
pub use Flag::*;
pub use Count::*;
use std::str;
use std::string;