mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
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.
This commit is contained in:
commit
b059c0a2e6
2 changed files with 3 additions and 3 deletions
|
@ -16,8 +16,6 @@
|
||||||
// FIXME: switch to something more ergonomic here, once available.
|
// FIXME: switch to something more ergonomic here, once available.
|
||||||
// (Currently there is no way to opt into sysroot crates without `extern crate`.)
|
// (Currently there is no way to opt into sysroot crates without `extern crate`.)
|
||||||
#[allow(unused_extern_crates)]
|
#[allow(unused_extern_crates)]
|
||||||
extern crate fmt_macros;
|
|
||||||
#[allow(unused_extern_crates)]
|
|
||||||
extern crate rustc_ast;
|
extern crate rustc_ast;
|
||||||
#[allow(unused_extern_crates)]
|
#[allow(unused_extern_crates)]
|
||||||
extern crate rustc_ast_pretty;
|
extern crate rustc_ast_pretty;
|
||||||
|
@ -48,6 +46,8 @@ extern crate rustc_mir;
|
||||||
#[allow(unused_extern_crates)]
|
#[allow(unused_extern_crates)]
|
||||||
extern crate rustc_parse;
|
extern crate rustc_parse;
|
||||||
#[allow(unused_extern_crates)]
|
#[allow(unused_extern_crates)]
|
||||||
|
extern crate rustc_parse_format;
|
||||||
|
#[allow(unused_extern_crates)]
|
||||||
extern crate rustc_session;
|
extern crate rustc_session;
|
||||||
#[allow(unused_extern_crates)]
|
#[allow(unused_extern_crates)]
|
||||||
extern crate rustc_span;
|
extern crate rustc_span;
|
||||||
|
|
|
@ -352,7 +352,7 @@ impl Write {
|
||||||
tts: &TokenStream,
|
tts: &TokenStream,
|
||||||
is_write: bool,
|
is_write: bool,
|
||||||
) -> (Option<StrLit>, Option<Expr>) {
|
) -> (Option<StrLit>, Option<Expr>) {
|
||||||
use fmt_macros::{
|
use rustc_parse_format::{
|
||||||
AlignUnknown, ArgumentImplicitlyIs, ArgumentIs, ArgumentNamed, CountImplied, FormatSpec, ParseMode, Parser,
|
AlignUnknown, ArgumentImplicitlyIs, ArgumentIs, ArgumentNamed, CountImplied, FormatSpec, ParseMode, Parser,
|
||||||
Piece,
|
Piece,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue