improve use of , vs ;

This commit is contained in:
Niko Matsakis 2016-01-13 15:56:53 -05:00
parent 5580b90392
commit 0704279dd3

View 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 {