X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Flibrustc_codegen_llvm%2Fvalue.rs;h=eadbe754e8e41cdaa07bcaf08587436e995ba45f;hb=9fa01778470c44d2c7fe4db4314b79f283b69230;hp=3ad1521be9393bb487ed6c476f43f621418b2a24;hpb=0731742a1921f2e8536085491f7d109f8fbcb2e1;p=rustc.git diff --git a/src/librustc_codegen_llvm/value.rs b/src/librustc_codegen_llvm/value.rs index 3ad1521be9..eadbe754e8 100644 --- a/src/librustc_codegen_llvm/value.rs +++ b/src/librustc_codegen_llvm/value.rs @@ -1,6 +1,6 @@ -pub use llvm::Value; +pub use crate::llvm::Value; -use llvm; +use crate::llvm; use std::fmt; use std::hash::{Hash, Hasher}; @@ -22,7 +22,7 @@ impl Hash for Value { 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"))