diff options
| author | bors <bors@rust-lang.org> | 2020-06-06 09:00:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-06-06 09:00:51 +0000 |
| commit | b059c0a2e6ca68882119fb54a104ee89ecb3c7bd (patch) | |
| tree | 89162cef82ae9d75855ca7f9457039f9b03eb34a | |
| parent | 0c470b3339532e063d3cedc517b7952779376d78 (diff) | |
| parent | bd3fc11416bf03b0b8c97ea8dc27ed97a729e9d0 (diff) | |
| download | rust-b059c0a2e6ca68882119fb54a104ee89ecb3c7bd.tar.gz rust-b059c0a2e6ca68882119fb54a104ee89ecb3c7bd.zip | |
Auto merge of #72927 - petrochenkov:rustc, r=Mark-Simulacrum
Rename all remaining compiler crates to use the `rustc_foo` pattern libarena -> librustc_arena libfmt_macros -> librustc_parse_format libgraphviz -> librustc_graphviz libserialize -> librustc_serialize Closes https://github.com/rust-lang/rust/issues/71177 in particular.
| -rw-r--r-- | clippy_lints/src/lib.rs | 4 | ||||
| -rw-r--r-- | clippy_lints/src/write.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 902f3d56c1e..b7d928d249f 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -16,8 +16,6 @@ // FIXME: switch to something more ergonomic here, once available. // (Currently there is no way to opt into sysroot crates without `extern crate`.) #[allow(unused_extern_crates)] -extern crate fmt_macros; -#[allow(unused_extern_crates)] extern crate rustc_ast; #[allow(unused_extern_crates)] extern crate rustc_ast_pretty; @@ -48,6 +46,8 @@ extern crate rustc_mir; #[allow(unused_extern_crates)] extern crate rustc_parse; #[allow(unused_extern_crates)] +extern crate rustc_parse_format; +#[allow(unused_extern_crates)] extern crate rustc_session; #[allow(unused_extern_crates)] extern crate rustc_span; diff --git a/clippy_lints/src/write.rs b/clippy_lints/src/write.rs index 37fbc2bad46..cb769b5a2ce 100644 --- a/clippy_lints/src/write.rs +++ b/clippy_lints/src/write.rs @@ -352,7 +352,7 @@ impl Write { tts: &TokenStream, is_write: bool, ) -> (Option<StrLit>, Option<Expr>) { - use fmt_macros::{ + use rustc_parse_format::{ AlignUnknown, ArgumentImplicitlyIs, ArgumentIs, ArgumentNamed, CountImplied, FormatSpec, ParseMode, Parser, Piece, }; |
