Skip to content

Commit 06c9fe9

Browse files
authored
Rollup merge of rust-lang#58106 - Centril:libfmt_macros-2018, r=oli-obk
libfmt_macros => 2018 Transitions `libfmt_macros` to Rust 2018; cc rust-lang#58099 r? @oli-obk
2 parents e1f4833 + 39394c8 commit 06c9fe9

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/libfmt_macros/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
authors = ["The Rust Project Developers"]
33
name = "fmt_macros"
44
version = "0.0.0"
5+
edition = "2018"
56

67
[lib]
78
name = "fmt_macros"

src/libfmt_macros/lib.rs

+7-6
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
html_playground_url = "https://play.rust-lang.org/",
1111
test(attr(deny(warnings))))]
1212

13-
#![feature(nll)]
13+
#![deny(rust_2018_idioms)]
14+
1415
#![feature(rustc_private)]
1516

16-
pub use self::Piece::*;
17-
pub use self::Position::*;
18-
pub use self::Alignment::*;
19-
pub use self::Flag::*;
20-
pub use self::Count::*;
17+
pub use Piece::*;
18+
pub use Position::*;
19+
pub use Alignment::*;
20+
pub use Flag::*;
21+
pub use Count::*;
2122

2223
use std::str;
2324
use std::string;

0 commit comments

Comments
 (0)