summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/copy-is-not-modulo-regions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/copy-is-not-modulo-regions.rs')
-rw-r--r--tests/ui/traits/copy-is-not-modulo-regions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/copy-is-not-modulo-regions.rs b/tests/ui/traits/copy-is-not-modulo-regions.rs
index adb870237..b89908374 100644
--- a/tests/ui/traits/copy-is-not-modulo-regions.rs
+++ b/tests/ui/traits/copy-is-not-modulo-regions.rs
@@ -11,7 +11,7 @@ struct Bar<'lt>(Foo<'lt>);
#[cfg(not_static)]
impl<'any> Copy for Bar<'any> {}
-//[not_static]~^ the trait `Copy` may not be implemented for this type
+//[not_static]~^ the trait `Copy` cannot be implemented for this type
#[cfg(yes_static)]
impl<'any> Copy for Bar<'static> {}