may not => cannot
This commit is contained in:
parent
1a521db67e
commit
a439c0293c
38 changed files with 54 additions and 54 deletions
|
@ -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)]
|
||||
|
|
|
@ -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() {
|
||||
}
|
||||
|
|
|
@ -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 { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue