@@ -5,7 +5,7 @@ LL | const CONST_0: Debug+Sync = *(&0 as &(Debug+Sync));
5
5
| ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
6
6
|
7
7
= help: the trait `std::marker::Sized` is not implemented for `(dyn std::fmt::Debug + std::marker::Sync + 'static)`
8
- = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-sized>
8
+ = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the- sized-trait >
9
9
= note: constant expressions must have a statically known size
10
10
11
11
error[E0277]: the size for values of type `str` cannot be known at compilation time
@@ -15,7 +15,7 @@ LL | const CONST_FOO: str = *"foo";
15
15
| ^^^^^^ doesn't have a size known at compile-time
16
16
|
17
17
= help: the trait `std::marker::Sized` is not implemented for `str`
18
- = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-sized>
18
+ = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the- sized-trait >
19
19
= note: constant expressions must have a statically known size
20
20
21
21
error[E0277]: the size for values of type `(dyn std::fmt::Debug + std::marker::Sync + 'static)` cannot be known at compilation time
@@ -25,7 +25,7 @@ LL | static STATIC_1: Debug+Sync = *(&1 as &(Debug+Sync));
25
25
| ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
26
26
|
27
27
= help: the trait `std::marker::Sized` is not implemented for `(dyn std::fmt::Debug + std::marker::Sync + 'static)`
28
- = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-sized>
28
+ = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the- sized-trait >
29
29
= note: constant expressions must have a statically known size
30
30
31
31
error[E0277]: the size for values of type `str` cannot be known at compilation time
@@ -35,7 +35,7 @@ LL | static STATIC_BAR: str = *"bar";
35
35
| ^^^^^^ doesn't have a size known at compile-time
36
36
|
37
37
= help: the trait `std::marker::Sized` is not implemented for `str`
38
- = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-sized>
38
+ = note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the- sized-trait >
39
39
= note: constant expressions must have a statically known size
40
40
41
41
error: aborting due to 4 previous errors
0 commit comments