Skip to content

Commit 3b04c9f

Browse files
committed
Fix rebase
1 parent 5a6faec commit 3b04c9f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/test/ui/suggestions/issue-84973-blacklist.stderr

+5-3
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ LL | f_unpin(static || { yield; });
3030
error[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-
...
3633
LL | 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

4143
error[E0277]: `Rc<{integer}>` cannot be sent between threads safely
4244
--> $DIR/issue-84973-blacklist.rs:28:12

0 commit comments

Comments
 (0)