File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,15 @@ LL | f_unpin(static || { yield; });
3030error[E0277]: the size for values of type `dyn Fn()` cannot be known at compilation time
3131 --> $DIR/issue-84973-blacklist.rs:22:13
3232 |
33- LL | fn f_sized<T: Sized>(t: T) {}
34- | - required by this bound in `f_sized`
35- ...
3633LL | f_sized(*ref_cl);
3734 | ^^^^^^^ doesn't have a size known at compile-time
3835 |
3936 = help: the trait `Sized` is not implemented for `dyn Fn()`
37+ note: type parameters introduce an implicit `Sized` obligation
38+ --> $DIR/issue-84973-blacklist.rs:9:12
39+ |
40+ LL | fn f_sized<T: Sized>(t: T) {}
41+ | ^ required by this bound in `f_sized`
4042
4143error[E0277]: `Rc<{integer}>` cannot be sent between threads safely
4244 --> $DIR/issue-84973-blacklist.rs:28:12
You can’t perform that action at this time.
0 commit comments