]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_llvm/value.rs
move interface to the unikernel in the crate hermit-abi
[rust.git] / src / librustc_codegen_llvm / value.rs
index 68809284bb726988aa05ddd58a7d0737393cb5d6..eadbe754e8e41cdaa07bcaf08587436e995ba45f 100644 (file)
@@ -22,7 +22,7 @@ fn hash<H: Hasher>(&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"))