diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-18 15:11:44 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-18 15:11:44 +0200 |
| commit | c48d8d4d800df8a59d412c5c4299c8fadcd039e9 (patch) | |
| tree | cba780e8e9940952265aa1587419e557994e3423 /compiler/rustc_codegen_gcc/tests/lang_tests_common.rs | |
| parent | 6f935a044d1ddeb6160494a6320d008d7c311aef (diff) | |
| parent | fda0bb9588912a3e0606e880ca9f6e913cf8a5a4 (diff) | |
| download | rust-c48d8d4d800df8a59d412c5c4299c8fadcd039e9.tar.gz rust-c48d8d4d800df8a59d412c5c4299c8fadcd039e9.zip | |
Merge commit 'fda0bb9588912a3e0606e880ca9f6e913cf8a5a4' into subtree-update_cg_gcc_2025-06-18
Diffstat (limited to 'compiler/rustc_codegen_gcc/tests/lang_tests_common.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/tests/lang_tests_common.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/lang_tests_common.rs b/compiler/rustc_codegen_gcc/tests/lang_tests_common.rs index bdcf14b4b26..9abe97b1087 100644 --- a/compiler/rustc_codegen_gcc/tests/lang_tests_common.rs +++ b/compiler/rustc_codegen_gcc/tests/lang_tests_common.rs @@ -57,10 +57,10 @@ pub fn main_inner(profile: Profile) { #[cfg(not(feature = "master"))] fn filter(filename: &Path) -> bool { - if let Some(filename) = filename.to_str() { - if filename.ends_with("gep.rs") { - return false; - } + if let Some(filename) = filename.to_str() + && filename.ends_with("gep.rs") + { + return false; } rust_filter(filename) } |
