1
Fork 0

Address PR feedback

This commit is contained in:
Ryan Levick 2021-06-16 14:27:44 +02:00
parent 23176f60e7
commit 7b3940f44b
89 changed files with 307 additions and 315 deletions

View file

@ -386,7 +386,7 @@ pub fn struct_lint_level<'s, 'd>(
{
let current_edition = sess.edition();
format!(
"this is valid in the current edition (Rust {}) but is not accepted in the Rust {} edition!",
"this is accepted in the current edition (Rust {}) but is a hard error in Rust {}!",
current_edition, edition
)
} else if let FutureIncompatibilityReason::EditionSemanticsChange(edition) =