Address PR feedback
This commit is contained in:
parent
23176f60e7
commit
7b3940f44b
89 changed files with 307 additions and 315 deletions
|
@ -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) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue