1 error[E0277]: the trait bound `String: Copy` is not satisfied
2 --> $DIR/issue-84973-blacklist.rs:15:12
4 LL | f_copy("".to_string());
5 | ------ ^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `String`
7 | required by a bound introduced by this call
9 note: required by a bound in `f_copy`
10 --> $DIR/issue-84973-blacklist.rs:6:14
12 LL | fn f_copy<T: Copy>(t: T) {}
13 | ^^^^ required by this bound in `f_copy`
15 error[E0277]: the trait bound `S: Clone` is not satisfied
16 --> $DIR/issue-84973-blacklist.rs:16:13
19 | ------- ^ the trait `Clone` is not implemented for `S`
21 | required by a bound introduced by this call
23 note: required by a bound in `f_clone`
24 --> $DIR/issue-84973-blacklist.rs:7:15
26 LL | fn f_clone<T: Clone>(t: T) {}
27 | ^^^^^ required by this bound in `f_clone`
28 help: consider annotating `S` with `#[derive(Clone)]`
33 error[E0277]: `[static generator@$DIR/issue-84973-blacklist.rs:17:13: 17:22]` cannot be unpinned
34 --> $DIR/issue-84973-blacklist.rs:17:13
36 LL | f_unpin(static || { yield; });
37 | ------- ^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `[static generator@$DIR/issue-84973-blacklist.rs:17:13: 17:22]`
39 | required by a bound introduced by this call
41 = note: consider using `Box::pin`
42 note: required by a bound in `f_unpin`
43 --> $DIR/issue-84973-blacklist.rs:8:15
45 LL | fn f_unpin<T: Unpin>(t: T) {}
46 | ^^^^^ required by this bound in `f_unpin`
48 error[E0277]: the size for values of type `dyn Fn()` cannot be known at compilation time
49 --> $DIR/issue-84973-blacklist.rs:22:13
51 LL | f_sized(*ref_cl);
52 | ------- ^^^^^^^ doesn't have a size known at compile-time
54 | required by a bound introduced by this call
56 = help: the trait `Sized` is not implemented for `dyn Fn()`
57 note: required by a bound in `f_sized`
58 --> $DIR/issue-84973-blacklist.rs:9:12
60 LL | fn f_sized<T: Sized>(t: T) {}
61 | ^ required by this bound in `f_sized`
63 error[E0277]: `Rc<{integer}>` cannot be sent between threads safely
64 --> $DIR/issue-84973-blacklist.rs:27:12
67 | ------ ^^ `Rc<{integer}>` cannot be sent between threads safely
69 | required by a bound introduced by this call
71 = help: the trait `Send` is not implemented for `Rc<{integer}>`
72 note: required by a bound in `f_send`
73 --> $DIR/issue-84973-blacklist.rs:10:14
75 LL | fn f_send<T: Send>(t: T) {}
76 | ^^^^ required by this bound in `f_send`
78 error: aborting due to 5 previous errors
80 For more information about this error, try `rustc --explain E0277`.