Skip to content

Commit

Permalink
Rollup merge of rust-lang#58106 - Centril:libfmt_macros-2018, r=oli-obk
Browse files Browse the repository at this point in the history
libfmt_macros => 2018

Transitions `libfmt_macros` to Rust 2018; cc rust-lang#58099

r? @oli-obk
  • Loading branch information
kennytm committed Feb 5, 2019
2 parents e1f4833 + 39394c8 commit 06c9fe9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/libfmt_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "fmt_macros"
version = "0.0.0"
edition = "2018"

[lib]
name = "fmt_macros"
Expand Down
13 changes: 7 additions & 6 deletions src/libfmt_macros/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06c9fe9

Please sign in to comment.