about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorSLASHLogin <loginmlgxd@gmail.com>2022-08-25 19:23:55 +0200
committerSLASHLogin <loginmlgxd@gmail.com>2022-11-09 14:56:20 +0100
commit69d412a073d40165cfef3a151e318e98978cf1bd (patch)
treee13ee8450576b98bb40fb6f6c7c385a5cecd5b6a /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentb1647903f86970e4bdedc599ee1af8036a75ef26 (diff)
downloadrust-69d412a073d40165cfef3a151e318e98978cf1bd.tar.gz
rust-69d412a073d40165cfef3a151e318e98978cf1bd.zip
Missing lifetime parameter and formatting
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index f0122d5824f..8f67913f91f 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -454,10 +454,7 @@ pub(crate) fn global_llvm_features(sess: &Session, diagnostics: bool) -> Vec<Str
                         None
                     }
                 });
-                sess.emit_warning(UnknownCTargetFeature::UnknownFeature {
-                    feature,
-                    rust_feature,
-                });
+                sess.emit_warning(UnknownCTargetFeature::UnknownFeature { feature, rust_feature });
             }
 
             if diagnostics {