• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0277]: the size for values of type `str` cannot be known at compilation time
2 --> tests/ui/opaque_not_sized.rs:4:14
3  |
44 |         type TypeR;
5  |              ^^^^^ doesn't have a size known at compile-time
6  |
7  = help: within `TypeR`, the trait `Sized` is not implemented for `str`
8note: required because it appears within the type `TypeR`
9 --> tests/ui/opaque_not_sized.rs:8:8
10  |
118 | struct TypeR(str);
12  |        ^^^^^
13note: required by a bound in `__AssertSized`
14 --> tests/ui/opaque_not_sized.rs:4:9
15  |
164 |         type TypeR;
17  |         ^^^^^^^^^^^ required by this bound in `__AssertSized`
18