From 8aa9f18eb5dfe9bdff39750ee8f527daef7c20f5 Mon Sep 17 00:00:00 2001 From: Samy Kacimi Date: Sun, 7 Jul 2019 23:14:41 +0200 Subject: normalize use of backticks for compiler messages in librustc_codegen https://github.com/rust-lang/rust/issues/60532 --- src/librustc_codegen_llvm/asm.rs | 2 +- src/librustc_codegen_llvm/builder.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/librustc_codegen_llvm') diff --git a/src/librustc_codegen_llvm/asm.rs b/src/librustc_codegen_llvm/asm.rs index 81acc16b7ab..bb92225c50e 100644 --- a/src/librustc_codegen_llvm/asm.rs +++ b/src/librustc_codegen_llvm/asm.rs @@ -146,7 +146,7 @@ fn inline_asm_call( unsafe { // Ask LLVM to verify that the constraints are well-formed. let constraints_ok = llvm::LLVMRustInlineAsmVerify(fty, cons.as_ptr()); - debug!("Constraint verification result: {:?}", constraints_ok); + debug!("constraint verification result: {:?}", constraints_ok); if constraints_ok { let v = llvm::LLVMRustInlineAsm( fty, diff --git a/src/librustc_codegen_llvm/builder.rs b/src/librustc_codegen_llvm/builder.rs index f67c740b777..5ac1cf8c36f 100644 --- a/src/librustc_codegen_llvm/builder.rs +++ b/src/librustc_codegen_llvm/builder.rs @@ -215,7 +215,7 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> { funclet: Option<&Funclet<'ll>>, ) -> &'ll Value { - debug!("Invoke {:?} with args ({:?})", + debug!("invoke {:?} with args ({:?})", llfn, args); @@ -1035,7 +1035,7 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> { funclet: Option<&Funclet<'ll>>, ) -> &'ll Value { - debug!("Call {:?} with args ({:?})", + debug!("call {:?} with args ({:?})", llfn, args); @@ -1238,7 +1238,7 @@ impl Builder<'a, 'll, 'tcx> { if dest_ptr_ty == stored_ptr_ty { ptr } else { - debug!("Type mismatch in store. \ + debug!("type mismatch in store. \ Expected {:?}, got {:?}; inserting bitcast", dest_ptr_ty, stored_ptr_ty); self.bitcast(ptr, stored_ptr_ty) @@ -1274,7 +1274,7 @@ impl Builder<'a, 'll, 'tcx> { .map(|(i, (expected_ty, &actual_val))| { let actual_ty = self.val_ty(actual_val); if expected_ty != actual_ty { - debug!("Type mismatch in function call of {:?}. \ + debug!("type mismatch in function call of {:?}. \ Expected {:?} for param {}, got {:?}; injecting bitcast", llfn, expected_ty, i, actual_ty); self.bitcast(actual_val, expected_ty) -- cgit 1.4.1-3-g733a5