about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-27 16:03:08 +0100
committerGitHub <noreply@github.com>2022-11-27 16:03:08 +0100
commit8d9064764157d7916a3f152ce55ef0b566bd7ab6 (patch)
treeb167d984de8a65045373da61b615c615e48e62b9 /compiler/rustc_span/src
parent6e6c42c61c5535ffd748b0b1c71b14f2e962da3e (diff)
parent2ab3f76442f1acdf8c8229164f27b66b1a822993 (diff)
downloadrust-8d9064764157d7916a3f152ce55ef0b566bd7ab6.tar.gz
rust-8d9064764157d7916a3f152ce55ef0b566bd7ab6.zip
Rollup merge of #104934 - ChrisDenton:all-anybody-wants, r=thomcc
Remove redundant `all` in cfg

This appears to have been accidentally left in after removing the other branches https://github.com/rust-lang/rust/commit/45bf1ed1a1123122ded05ae2eedaf0f190e52726

(hat tip to kangalioo for the git archaeology)
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/analyze_source_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/analyze_source_file.rs b/compiler/rustc_span/src/analyze_source_file.rs
index 5987fb2a198..47aa4dfba42 100644
--- a/compiler/rustc_span/src/analyze_source_file.rs
+++ b/compiler/rustc_span/src/analyze_source_file.rs
@@ -41,7 +41,7 @@ pub fn analyze_source_file(
 }
 
 cfg_if::cfg_if! {
-    if #[cfg(all(any(target_arch = "x86", target_arch = "x86_64")))] {
+    if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {
         fn analyze_source_file_dispatch(src: &str,
                                     source_file_start_pos: BytePos,
                                     lines: &mut Vec<BytePos>,