1
Fork 0

Whitespace fixes.

This commit is contained in:
Nicholas Nethercote 2024-04-24 09:45:47 +10:00
parent 748b0a2e35
commit 78e7c7b9f9

View file

@ -1,5 +1,4 @@
use crate::config::*; use crate::config::*;
use crate::search_paths::SearchPath; use crate::search_paths::SearchPath;
use crate::utils::NativeLib; use crate::utils::NativeLib;
use crate::{lint, EarlyDiagCtxt}; use crate::{lint, EarlyDiagCtxt};
@ -8,20 +7,17 @@ use rustc_data_structures::profiling::TimePassesFormat;
use rustc_data_structures::stable_hasher::Hash64; use rustc_data_structures::stable_hasher::Hash64;
use rustc_errors::ColorConfig; use rustc_errors::ColorConfig;
use rustc_errors::{LanguageIdentifier, TerminalUrl}; use rustc_errors::{LanguageIdentifier, TerminalUrl};
use rustc_feature::UnstableFeatures;
use rustc_span::edition::Edition;
use rustc_span::RealFileName;
use rustc_span::SourceFileHashAlgorithm;
use rustc_target::spec::{ use rustc_target::spec::{
CodeModel, LinkerFlavorCli, MergeFunctions, PanicStrategy, SanitizerSet, WasmCAbi, CodeModel, LinkerFlavorCli, MergeFunctions, PanicStrategy, SanitizerSet, WasmCAbi,
}; };
use rustc_target::spec::{ use rustc_target::spec::{
RelocModel, RelroLevel, SplitDebuginfo, StackProtector, TargetTriple, TlsModel, RelocModel, RelroLevel, SplitDebuginfo, StackProtector, TargetTriple, TlsModel,
}; };
use rustc_feature::UnstableFeatures;
use rustc_span::edition::Edition;
use rustc_span::RealFileName;
use rustc_span::SourceFileHashAlgorithm;
use std::collections::BTreeMap; use std::collections::BTreeMap;
use std::hash::{DefaultHasher, Hasher}; use std::hash::{DefaultHasher, Hasher};
use std::num::{IntErrorKind, NonZero}; use std::num::{IntErrorKind, NonZero};
use std::path::PathBuf; use std::path::PathBuf;
@ -118,8 +114,8 @@ top_level_options!(
/// incremental compilation cache before proceeding. /// incremental compilation cache before proceeding.
/// ///
/// - `[TRACKED_NO_CRATE_HASH]` /// - `[TRACKED_NO_CRATE_HASH]`
/// Same as `[TRACKED]`, but will not affect the crate hash. This is useful for options that only /// Same as `[TRACKED]`, but will not affect the crate hash. This is useful for options that
/// affect the incremental cache. /// only affect the incremental cache.
/// ///
/// - `[UNTRACKED]` /// - `[UNTRACKED]`
/// Incremental compilation is not influenced by this option. /// Incremental compilation is not influenced by this option.