diff --git a/lib/codegen/src/isa/x86/abi.rs b/lib/codegen/src/isa/x86/abi.rs index 39852fce90..0321e36e85 100644 --- a/lib/codegen/src/isa/x86/abi.rs +++ b/lib/codegen/src/isa/x86/abi.rs @@ -99,7 +99,7 @@ impl ArgAssigner for Args { } else { RU::rsi } as RegUnit) - .into() + .into(); } // This is SpiderMonkey's `WasmTableCallSigReg`. ArgumentPurpose::SignatureId => return ArgumentLoc::Reg(RU::r10 as RegUnit).into(), diff --git a/lib/codegen/src/verifier/liveness.rs b/lib/codegen/src/verifier/liveness.rs index 0d18504d31..9556ae3703 100644 --- a/lib/codegen/src/verifier/liveness.rs +++ b/lib/codegen/src/verifier/liveness.rs @@ -186,7 +186,7 @@ impl<'a> LivenessVerifier<'a> { "Def local range for {} can't end at {}", val, e - ) + ); } ExpandedProgramPoint::Inst(i) => { if self.func.layout.inst_ebb(i) != Some(def_ebb) { @@ -216,7 +216,7 @@ impl<'a> LivenessVerifier<'a> { val, ebb, end - ) + ); } }; @@ -247,7 +247,7 @@ impl<'a> LivenessVerifier<'a> { "end of {} livein ({}) never reached", val, end_ebb - ) + ); } }; } diff --git a/lib/codegen/src/verifier/mod.rs b/lib/codegen/src/verifier/mod.rs index d139c54681..0aeb3ad8a9 100644 --- a/lib/codegen/src/verifier/mod.rs +++ b/lib/codegen/src/verifier/mod.rs @@ -1641,7 +1641,7 @@ impl<'a> Verifier<'a> { "{} must have an encoding (e.g., {})", text, isa.encoding_info().display(enc) - ) + ); } Err(_) => return nonfatal!(errors, inst, "{} must have an encoding", text), } diff --git a/lib/filetests/src/test_binemit.rs b/lib/filetests/src/test_binemit.rs index 47fa59a2c0..3c959a09bc 100644 --- a/lib/filetests/src/test_binemit.rs +++ b/lib/filetests/src/test_binemit.rs @@ -186,7 +186,7 @@ impl SubTest for TestBinEmit { return Err(format!( "'bin:' directive on non-inst {}: {}", comment.entity, comment.text - )) + )); } } } diff --git a/lib/filetests/src/test_domtree.rs b/lib/filetests/src/test_domtree.rs index c2683591f2..e8aeca9bfa 100644 --- a/lib/filetests/src/test_domtree.rs +++ b/lib/filetests/src/test_domtree.rs @@ -55,7 +55,7 @@ impl SubTest for TestDomtree { return Err(format!( "annotation on non-inst {}: {}", comment.entity, comment.text - )) + )); } }; for src_ebb in tail.split_whitespace() { diff --git a/lib/reader/src/isaspec.rs b/lib/reader/src/isaspec.rs index 6b58982c3a..89dac510bb 100644 --- a/lib/reader/src/isaspec.rs +++ b/lib/reader/src/isaspec.rs @@ -56,7 +56,7 @@ where "invalid setting value for '{}', expected {}", opt, expected - ) + ); } }, } diff --git a/lib/reader/src/parser.rs b/lib/reader/src/parser.rs index 3aefb575f3..4f5acc05f4 100644 --- a/lib/reader/src/parser.rs +++ b/lib/reader/src/parser.rs @@ -796,10 +796,10 @@ impl<'a> Parser<'a> { }; let isa_builder = match isa::lookup(triple) { Err(isa::LookupError::SupportDisabled) => { - return err!(loc, "support disabled target '{}'", targ) + return err!(loc, "support disabled target '{}'", targ); } Err(isa::LookupError::Unsupported) => { - return err!(loc, "unsupported target '{}'", targ) + return err!(loc, "unsupported target '{}'", targ); } Ok(b) => b, }; @@ -859,7 +859,7 @@ impl<'a> Parser<'a> { continue; } Err(isa::LookupError::Unsupported) => { - return err!(loc, "unsupported target '{}'", target_name) + return err!(loc, "unsupported target '{}'", target_name); } Ok(b) => b, }; @@ -1480,7 +1480,7 @@ impl<'a> Parser<'a> { Some(Token::SigRef(sig_src)) => { let sig = match SigRef::with_number(sig_src) { None => { - return err!(self.loc, "attempted to use invalid signature ss{}", sig_src) + return err!(self.loc, "attempted to use invalid signature ss{}", sig_src); } Some(sig) => sig, }; @@ -1712,7 +1712,7 @@ impl<'a> Parser<'a> { self.loc, "attempted to use invalid stack slot ss{}", src_num - ) + ); } Some(ss) => ss, };