2023-06-16 18:45:01 -05:00
|
|
|
error[E0277]: the trait bound `dyn NotObject: NotObject` is not satisfied
|
2024-03-10 20:18:41 -05:00
|
|
|
--> $DIR/deny-builtin-object-impl.rs:19:23
|
2023-06-16 18:45:01 -05:00
|
|
|
|
|
|
|
|
LL | test_not_object::<dyn NotObject>();
|
|
|
|
| ^^^^^^^^^^^^^ the trait `NotObject` is not implemented for `dyn NotObject`
|
|
|
|
|
|
2023-09-09 22:33:07 -05:00
|
|
|
help: this trait has no implementations, consider adding one
|
2024-03-10 20:18:41 -05:00
|
|
|
--> $DIR/deny-builtin-object-impl.rs:11:1
|
2023-09-09 22:33:07 -05:00
|
|
|
|
|
|
|
|
LL | trait NotObject {}
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2023-06-16 18:45:01 -05:00
|
|
|
note: required by a bound in `test_not_object`
|
2024-03-10 20:18:41 -05:00
|
|
|
--> $DIR/deny-builtin-object-impl.rs:15:23
|
2023-06-16 18:45:01 -05:00
|
|
|
|
|
|
|
|
LL | fn test_not_object<T: NotObject + ?Sized>() {}
|
|
|
|
| ^^^^^^^^^ required by this bound in `test_not_object`
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-16 18:45:01 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|