diff options
| author | Michael Goulet <michael@errs.io> | 2023-03-07 23:55:51 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-03-08 00:00:18 +0000 |
| commit | a439c0293cc7aa31d89f76abfe03eb5fdeebde1a (patch) | |
| tree | 7a510809a171a74ab6b0deed79b3851287052a52 /compiler/rustc_hir_analysis/src/coherence/builtin.rs | |
| parent | 1a521db67e2935e5a46c7b95b511ab9a43be5770 (diff) | |
| download | rust-a439c0293cc7aa31d89f76abfe03eb5fdeebde1a.tar.gz rust-a439c0293cc7aa31d89f76abfe03eb5fdeebde1a.zip | |
may not => cannot
Diffstat (limited to 'compiler/rustc_hir_analysis/src/coherence/builtin.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/coherence/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/coherence/builtin.rs b/compiler/rustc_hir_analysis/src/coherence/builtin.rs index ffb68abf978..852c5768399 100644 --- a/compiler/rustc_hir_analysis/src/coherence/builtin.rs +++ b/compiler/rustc_hir_analysis/src/coherence/builtin.rs @@ -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 |
