Reformat using the new identifier sorting from rustfmt
This commit is contained in:
parent
1173204b36
commit
c682aa162b
1455 changed files with 7152 additions and 8384 deletions
|
@ -6,9 +6,9 @@ use rustc_pattern_analysis::{Captures, MatchArm, PatCx, PrivateUninhabitedField}
|
|||
|
||||
/// Sets up `tracing` for easier debugging. Tries to look like the `rustc` setup.
|
||||
pub fn init_tracing() {
|
||||
use tracing_subscriber::Layer;
|
||||
use tracing_subscriber::layer::SubscriberExt;
|
||||
use tracing_subscriber::util::SubscriberInitExt;
|
||||
use tracing_subscriber::Layer;
|
||||
let _ = tracing_tree::HierarchicalLayer::default()
|
||||
.with_writer(std::io::stderr)
|
||||
.with_ansi(true)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
//! Test the pattern complexity limit.
|
||||
|
||||
use common::*;
|
||||
use rustc_pattern_analysis::MatchArm;
|
||||
use rustc_pattern_analysis::pat::DeconstructedPat;
|
||||
use rustc_pattern_analysis::usefulness::PlaceValidity;
|
||||
use rustc_pattern_analysis::MatchArm;
|
||||
|
||||
#[macro_use]
|
||||
mod common;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
//! Test exhaustiveness checking.
|
||||
|
||||
use common::*;
|
||||
use rustc_pattern_analysis::MatchArm;
|
||||
use rustc_pattern_analysis::pat::{DeconstructedPat, WitnessPat};
|
||||
use rustc_pattern_analysis::usefulness::PlaceValidity;
|
||||
use rustc_pattern_analysis::MatchArm;
|
||||
|
||||
#[macro_use]
|
||||
mod common;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
//! Test the computation of arm intersections.
|
||||
|
||||
use common::*;
|
||||
use rustc_pattern_analysis::MatchArm;
|
||||
use rustc_pattern_analysis::pat::DeconstructedPat;
|
||||
use rustc_pattern_analysis::usefulness::PlaceValidity;
|
||||
use rustc_pattern_analysis::MatchArm;
|
||||
|
||||
#[macro_use]
|
||||
mod common;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue