1 error[E0382]: use of moved value: `b`
2 --> $DIR/borrowck-consume-upcast-box.rs:10:13
4 LL | fn foo(b: Box<dyn Foo + Send>) {
5 | - move occurs because `b` has type `Box<dyn Foo + Send>`, which does not implement the `Copy` trait
9 | ^ value used here after move
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0382`.