Commit 3b04c9f 1 parent 5a6faec commit 3b04c9f Copy full SHA for 3b04c9f
File tree 1 file changed +5
-3
lines changed
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; });
30
30
error[E0277]: the size for values of type `dyn Fn()` cannot be known at compilation time
31
31
--> $DIR/issue-84973-blacklist.rs:22:13
32
32
|
33
- LL | fn f_sized<T: Sized>(t: T) {}
34
- | - required by this bound in `f_sized`
35
- ...
36
33
LL | f_sized(*ref_cl);
37
34
| ^^^^^^^ doesn't have a size known at compile-time
38
35
|
39
36
= 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`
40
42
41
43
error[E0277]: `Rc<{integer}>` cannot be sent between threads safely
42
44
--> $DIR/issue-84973-blacklist.rs:28:12
You can’t perform that action at this time.
0 commit comments