fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `dyn NotObject: NotObject` is not satisfied 2 --> $DIR/deny-builtin-object-impl.rs:18:23 3 | 4LL | test_not_object::<dyn NotObject>(); 5 | ^^^^^^^^^^^^^ the trait `NotObject` is not implemented for `dyn NotObject` 6 | 7help: this trait has no implementations, consider adding one 8 --> $DIR/deny-builtin-object-impl.rs:10:1 9 | 10LL | trait NotObject {} 11 | ^^^^^^^^^^^^^^^ 12note: required by a bound in `test_not_object` 13 --> $DIR/deny-builtin-object-impl.rs:14:23 14 | 15LL | fn test_not_object<T: NotObject + ?Sized>() {} 16 | ^^^^^^^^^ required by this bound in `test_not_object` 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0277`.