X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_codegen_llvm%2Fvalue.rs;h=eadbe754e8e41cdaa07bcaf08587436e995ba45f;hb=5ebd4d9c27bf8fee4f7d664d76c41832745dff43;hp=68809284bb726988aa05ddd58a7d0737393cb5d6;hpb=b78e9f4fe3f1052383df3bbeb19467f087bb8c57;p=rust.git diff --git a/src/librustc_codegen_llvm/value.rs b/src/librustc_codegen_llvm/value.rs index 68809284bb7..eadbe754e8e 100644 --- a/src/librustc_codegen_llvm/value.rs +++ b/src/librustc_codegen_llvm/value.rs @@ -22,7 +22,7 @@ fn hash(&self, hasher: &mut H) { impl fmt::Debug for Value { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.write_str(&llvm::build_string(|s| unsafe { llvm::LLVMRustWriteValueToString(self, s); }).expect("non-UTF8 value description from LLVM"))