may not => cannot

This commit is contained in:
Michael Goulet
2023-03-07 23:55:51 +00:00
parent 1a521db67e
commit a439c0293c
38 changed files with 54 additions and 54 deletions

View File

@@ -86,7 +86,7 @@ fn visit_implementation_of_copy(tcx: TyCtxt<'_>, impl_did: LocalDefId) {
tcx.sess,
span,
E0204,
"the trait `Copy` may not be implemented for this type"
"the trait `Copy` cannot be implemented for this type"
);
// We'll try to suggest constraining type parameters to fulfill the requirements of