2023-04-25 05:15:50 +00:00
|
|
|
error[E0277]: the trait bound `T: !Copy` is not satisfied
|
2023-12-27 18:53:06 +01:00
|
|
|
--> $DIR/simple.rs:10:16
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
LL | not_copy::<T>();
|
2024-02-29 16:30:01 +00:00
|
|
|
| ^ the trait bound `T: !Copy` is not satisfied
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
note: required by a bound in `not_copy`
|
2023-12-27 18:53:06 +01:00
|
|
|
--> $DIR/simple.rs:3:16
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
LL | fn not_copy<T: !Copy>() {}
|
|
|
|
|
| ^^^^^ required by this bound in `not_copy`
|
|
|
|
|
|
|
|
|
|
error[E0277]: the trait bound `T: !Copy` is not satisfied
|
2023-12-27 18:53:06 +01:00
|
|
|
--> $DIR/simple.rs:15:16
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
LL | not_copy::<T>();
|
2024-02-29 16:30:01 +00:00
|
|
|
| ^ the trait bound `T: !Copy` is not satisfied
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
note: required by a bound in `not_copy`
|
2023-12-27 18:53:06 +01:00
|
|
|
--> $DIR/simple.rs:3:16
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
LL | fn not_copy<T: !Copy>() {}
|
|
|
|
|
| ^^^^^ required by this bound in `not_copy`
|
|
|
|
|
|
|
|
|
|
error[E0277]: the trait bound `Copyable: !Copy` is not satisfied
|
2023-12-27 18:53:06 +01:00
|
|
|
--> $DIR/simple.rs:30:16
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
LL | not_copy::<Copyable>();
|
2024-02-29 16:30:01 +00:00
|
|
|
| ^^^^^^^^ the trait bound `Copyable: !Copy` is not satisfied
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
note: required by a bound in `not_copy`
|
2023-12-27 18:53:06 +01:00
|
|
|
--> $DIR/simple.rs:3:16
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
LL | fn not_copy<T: !Copy>() {}
|
|
|
|
|
| ^^^^^ required by this bound in `not_copy`
|
|
|
|
|
|
|
|
|
|
error[E0277]: the trait bound `NotNecessarilyCopyable: !Copy` is not satisfied
|
2023-12-27 18:53:06 +01:00
|
|
|
--> $DIR/simple.rs:37:16
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
LL | not_copy::<NotNecessarilyCopyable>();
|
2024-02-29 16:30:01 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ the trait bound `NotNecessarilyCopyable: !Copy` is not satisfied
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
note: required by a bound in `not_copy`
|
2023-12-27 18:53:06 +01:00
|
|
|
--> $DIR/simple.rs:3:16
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
|
LL | fn not_copy<T: !Copy>() {}
|
|
|
|
|
| ^^^^^ required by this bound in `not_copy`
|
|
|
|
|
|
2023-12-27 18:53:06 +01:00
|
|
|
error: aborting due to 4 previous errors
|
2023-04-25 05:15:50 +00:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|