Fix formatting

This commit is contained in:
Antoni Boucher 2025-01-13 11:48:14 -05:00
parent 06f0a9bc78
commit cf2f17aeb6
3 changed files with 8 additions and 8 deletions

View file

@ -1,3 +1,5 @@
version = "Two" style_edition = "2024"
use_small_heuristics = "Max" use_small_heuristics = "Max"
merge_derives = false merge_derives = false
group_imports = "StdExternalCrate"
imports_granularity = "Module"

View file

@ -13,11 +13,11 @@ use rustc_codegen_ssa::common::IntPredicate;
use rustc_codegen_ssa::errors::InvalidMonomorphization; use rustc_codegen_ssa::errors::InvalidMonomorphization;
use rustc_codegen_ssa::mir::operand::{OperandRef, OperandValue}; use rustc_codegen_ssa::mir::operand::{OperandRef, OperandValue};
use rustc_codegen_ssa::mir::place::{PlaceRef, PlaceValue}; use rustc_codegen_ssa::mir::place::{PlaceRef, PlaceValue};
use rustc_codegen_ssa::traits::BaseTypeCodegenMethods;
#[cfg(feature = "master")] #[cfg(feature = "master")]
use rustc_codegen_ssa::traits::MiscCodegenMethods; use rustc_codegen_ssa::traits::MiscCodegenMethods;
use rustc_codegen_ssa::traits::{ use rustc_codegen_ssa::traits::{
ArgAbiBuilderMethods, BuilderMethods, ConstCodegenMethods, IntrinsicCallBuilderMethods, ArgAbiBuilderMethods, BaseTypeCodegenMethods, BuilderMethods, ConstCodegenMethods,
IntrinsicCallBuilderMethods,
}; };
use rustc_middle::bug; use rustc_middle::bug;
#[cfg(feature = "master")] #[cfg(feature = "master")]

View file

@ -1,10 +1,8 @@
//! The common code for `tests/lang_tests_*.rs` //! The common code for `tests/lang_tests_*.rs`
use std::{ use std::env::{self, current_dir};
env::{self, current_dir}, use std::path::{Path, PathBuf};
path::{Path, PathBuf}, use std::process::Command;
process::Command,
};
use boml::Toml; use boml::Toml;
use lang_tester::LangTester; use lang_tester::LangTester;