normalize use of backticks for compiler messages in librustc_codegen
https://github.com/rust-lang/rust/issues/60532
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user