1 error[E0277]: the trait bound `String: Copy` is not satisfied
2 --> $DIR/issue-84973-blacklist.rs:15:12
4 LL | fn f_copy<T: Copy>(t: T) {}
5 | ---- required by this bound in `f_copy`
7 LL | f_copy("".to_string());
8 | ^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `String`
10 error[E0277]: the trait bound `S: Clone` is not satisfied
11 --> $DIR/issue-84973-blacklist.rs:16:13
13 LL | fn f_clone<T: Clone>(t: T) {}
14 | ----- required by this bound in `f_clone`
17 | ^ the trait `Clone` is not implemented for `S`
19 error[E0277]: `[static generator@$DIR/issue-84973-blacklist.rs:17:13: 17:33]` cannot be unpinned
20 --> $DIR/issue-84973-blacklist.rs:17:5
22 LL | fn f_unpin<T: Unpin>(t: T) {}
23 | ----- required by this bound in `f_unpin`
25 LL | f_unpin(static || { yield; });
26 | ^^^^^^^ the trait `Unpin` is not implemented for `[static generator@$DIR/issue-84973-blacklist.rs:17:13: 17:33]`
28 = note: consider using `Box::pin`
30 error[E0277]: the size for values of type `dyn Fn()` cannot be known at compilation time
31 --> $DIR/issue-84973-blacklist.rs:22:13
33 LL | fn f_sized<T: Sized>(t: T) {}
34 | - required by this bound in `f_sized`
36 LL | f_sized(*ref_cl);
37 | ^^^^^^^ doesn't have a size known at compile-time
39 = help: the trait `Sized` is not implemented for `dyn Fn()`
41 error[E0277]: `Rc<{integer}>` cannot be sent between threads safely
42 --> $DIR/issue-84973-blacklist.rs:28:12
44 LL | fn f_send<T: Send>(t: T) {}
45 | ---- required by this bound in `f_send`
48 | ^^ `Rc<{integer}>` cannot be sent between threads safely
50 = help: the trait `Send` is not implemented for `Rc<{integer}>`
52 error[E0277]: the size for values of type `dyn Fn()` cannot be known at compilation time
53 --> $DIR/issue-84973-blacklist.rs:22:5
55 LL | f_sized(*ref_cl);
56 | ^^^^^^^ doesn't have a size known at compile-time
58 = help: the trait `Sized` is not implemented for `dyn Fn()`
59 = note: all function arguments must have a statically known size
60 = help: unsized fn params are gated as an unstable feature
62 error: aborting due to 6 previous errors
64 For more information about this error, try `rustc --explain E0277`.