about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Serr <cryze92@gmail.com>2016-10-31 19:41:22 +0100
committerGitHub <noreply@github.com>2016-10-31 19:41:22 +0100
commitb926e8d08989a6e45f00c952f1867000fd9f58ea (patch)
treebf569282797ea71e4c893de17dc5bb5f8360489b
parentbf5b824c1cb1fa5ec9b060f9b552cf7fd7465f01 (diff)
downloadrust-b926e8d08989a6e45f00c952f1867000fd9f58ea.tar.gz
rust-b926e8d08989a6e45f00c952f1867000fd9f58ea.zip
Add missing space in mutable_transmutes lint
-rw-r--r--src/librustc_lint/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs
index eee34324a65..a28109c1471 100644
--- a/src/librustc_lint/builtin.rs
+++ b/src/librustc_lint/builtin.rs
@@ -1189,7 +1189,7 @@ impl LateLintPass for MutableTransmutes {
     fn check_expr(&mut self, cx: &LateContext, expr: &hir::Expr) {
         use syntax::abi::Abi::RustIntrinsic;
 
-        let msg = "mutating transmuted &mut T from &T may cause undefined behavior,\
+        let msg = "mutating transmuted &mut T from &T may cause undefined behavior, \
                    consider instead using an UnsafeCell";
         match get_transmute_from_to(cx, expr) {
             Some((&ty::TyRef(_, from_mt), &ty::TyRef(_, to_mt))) => {