You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ^^^^^^^^^^^^^^ doesn't have a size known at compile-time
6
+
|
7
+
= help: the trait `Sized` is not implemented for `(dyn Foo + 'static)`
8
+
1
9
error[E0277]: the size for values of type `(dyn Foo + 'static)` cannot be known at compilation time
2
10
--> $DIR/issue-111932.rs:4:20
3
11
|
@@ -19,6 +27,6 @@ LL | println!("{:?}", foo);
19
27
= help: the trait `Sized` is not implemented for `dyn Foo`
20
28
= note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
21
29
22
-
error: aborting due to 2 previous errors
30
+
error: aborting due to 3 previous errors
23
31
24
32
For more information about this error, try `rustc --explain E0277`.
0 commit comments