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 /tests/ui/error-codes | |
| parent | 1a521db67e2935e5a46c7b95b511ab9a43be5770 (diff) | |
| download | rust-a439c0293cc7aa31d89f76abfe03eb5fdeebde1a.tar.gz rust-a439c0293cc7aa31d89f76abfe03eb5fdeebde1a.zip | |
may not => cannot
Diffstat (limited to 'tests/ui/error-codes')
| -rw-r--r-- | tests/ui/error-codes/E0184.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/error-codes/E0206.rs | 2 | ||||
| -rw-r--r-- | tests/ui/error-codes/E0206.stderr | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/error-codes/E0184.stderr b/tests/ui/error-codes/E0184.stderr index bb3017b6ec2..52f1f30a408 100644 --- a/tests/ui/error-codes/E0184.stderr +++ b/tests/ui/error-codes/E0184.stderr @@ -1,4 +1,4 @@ -error[E0184]: the trait `Copy` may not be implemented for this type; the type has a destructor +error[E0184]: the trait `Copy` cannot be implemented for this type; the type has a destructor --> $DIR/E0184.rs:1:10 | LL | #[derive(Copy)] diff --git a/tests/ui/error-codes/E0206.rs b/tests/ui/error-codes/E0206.rs index 0f3d427ce11..74738d81015 100644 --- a/tests/ui/error-codes/E0206.rs +++ b/tests/ui/error-codes/E0206.rs @@ -2,7 +2,7 @@ struct Bar; impl Copy for &'static mut Bar { } -//~^ ERROR the trait `Copy` may not be implemented for this type +//~^ ERROR the trait `Copy` cannot be implemented for this type fn main() { } diff --git a/tests/ui/error-codes/E0206.stderr b/tests/ui/error-codes/E0206.stderr index 57ae2647d33..60d8d7bfe98 100644 --- a/tests/ui/error-codes/E0206.stderr +++ b/tests/ui/error-codes/E0206.stderr @@ -1,4 +1,4 @@ -error[E0206]: the trait `Copy` may not be implemented for this type +error[E0206]: the trait `Copy` cannot be implemented for this type --> $DIR/E0206.rs:4:15 | LL | impl Copy for &'static mut Bar { } |
