We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1f4833 + 39394c8 commit 06c9fe9Copy full SHA for 06c9fe9
src/libfmt_macros/Cargo.toml
@@ -2,6 +2,7 @@
2
authors = ["The Rust Project Developers"]
3
name = "fmt_macros"
4
version = "0.0.0"
5
+edition = "2018"
6
7
[lib]
8
src/libfmt_macros/lib.rs
@@ -10,14 +10,15 @@
10
html_playground_url = "https://play.rust-lang.org/",
11
test(attr(deny(warnings))))]
12
13
-#![feature(nll)]
+#![deny(rust_2018_idioms)]
14
+
15
#![feature(rustc_private)]
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::*;
+pub use Piece::*;
+pub use Position::*;
+pub use Alignment::*;
+pub use Flag::*;
21
+pub use Count::*;
22
23
use std::str;
24
use std::string;
0 commit comments