Skip to content

Commit b059c0a

Browse files
committed
Auto merge of rust-lang#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 rust-lang#71177 in particular.
2 parents 0c470b3 + bd3fc11 commit b059c0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clippy_lints/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
// FIXME: switch to something more ergonomic here, once available.
1717
// (Currently there is no way to opt into sysroot crates without `extern crate`.)
1818
#[allow(unused_extern_crates)]
19-
extern crate fmt_macros;
20-
#[allow(unused_extern_crates)]
2119
extern crate rustc_ast;
2220
#[allow(unused_extern_crates)]
2321
extern crate rustc_ast_pretty;
@@ -48,6 +46,8 @@ extern crate rustc_mir;
4846
#[allow(unused_extern_crates)]
4947
extern crate rustc_parse;
5048
#[allow(unused_extern_crates)]
49+
extern crate rustc_parse_format;
50+
#[allow(unused_extern_crates)]
5151
extern crate rustc_session;
5252
#[allow(unused_extern_crates)]
5353
extern crate rustc_span;

clippy_lints/src/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ impl Write {
352352
tts: &TokenStream,
353353
is_write: bool,
354354
) -> (Option<StrLit>, Option<Expr>) {
355-
use fmt_macros::{
355+
use rustc_parse_format::{
356356
AlignUnknown, ArgumentImplicitlyIs, ArgumentIs, ArgumentNamed, CountImplied, FormatSpec, ParseMode, Parser,
357357
Piece,
358358
};

0 commit comments

Comments
 (0)