We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a6faec commit 3b04c9fCopy full SHA for 3b04c9f
src/test/ui/suggestions/issue-84973-blacklist.stderr
@@ -30,13 +30,15 @@ LL | f_unpin(static || { yield; });
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
32
|
33
-LL | fn f_sized<T: Sized>(t: T) {}
34
- | - required by this bound in `f_sized`
35
-...
36
LL | f_sized(*ref_cl);
37
| ^^^^^^^ doesn't have a size known at compile-time
38
39
= help: the trait `Sized` is not implemented for `dyn Fn()`
+note: type parameters introduce an implicit `Sized` obligation
+ --> $DIR/issue-84973-blacklist.rs:9:12
+ |
40
+LL | fn f_sized<T: Sized>(t: T) {}
41
+ | ^ required by this bound in `f_sized`
42
43
error[E0277]: `Rc<{integer}>` cannot be sent between threads safely
44
--> $DIR/issue-84973-blacklist.rs:28:12
0 commit comments