]> git.lizzy.rs Git - rust.git/commitdiff
improve use of `,` vs `;`
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 13 Jan 2016 20:56:53 +0000 (15:56 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 13 Jan 2016 20:56:53 +0000 (15:56 -0500)
src/librustc/lint/context.rs

index da6e8936eed5dab0095800a97ec679a0a3ff1131..80eff67170532586462db669477edb2c468aaac7 100644 (file)
@@ -446,8 +446,8 @@ pub fn raw_struct_lint<'a>(sess: &'a Session,
     // Check for future incompatibility lints and issue a stronger warning.
     if let Some(future_incompatible) = lints.future_incompatible(LintId::of(lint)) {
         let explanation = format!("this was previously accepted by the compiler \
-                                   but is being phased out, \
-                                   and will become a hard error in a future release!");
+                                   but is being phased out; \
+                                   it will become a hard error in a future release!");
         let citation = format!("for more information, see {}",
                                future_incompatible.reference);
         if let Some(sp) = span {