summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/missing-bound-in-manual-copy-impl-2.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/missing-bound-in-manual-copy-impl-2.fixed')
-rw-r--r--tests/ui/suggestions/missing-bound-in-manual-copy-impl-2.fixed2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/suggestions/missing-bound-in-manual-copy-impl-2.fixed b/tests/ui/suggestions/missing-bound-in-manual-copy-impl-2.fixed
index 691e7553a..f32c61a99 100644
--- a/tests/ui/suggestions/missing-bound-in-manual-copy-impl-2.fixed
+++ b/tests/ui/suggestions/missing-bound-in-manual-copy-impl-2.fixed
@@ -14,6 +14,6 @@ impl<T: std::fmt::Display> Clone for OnlyCopyIfDisplay<T> {
impl<T: std::fmt::Display> Copy for OnlyCopyIfDisplay<T> {}
impl<S: std::fmt::Display> Copy for Wrapper<OnlyCopyIfDisplay<S>> {}
-//~^ ERROR the trait `Copy` may not be implemented for this type
+//~^ ERROR the trait `Copy` cannot be implemented for this type
fn main() {}