@@ -8,7 +8,6 @@ LL | assert_sized::<A>();
8
8
| ^ doesn't have a size known at compile-time
9
9
|
10
10
= help: the trait `std::marker::Sized` is not implemented for `A`
11
- = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
12
11
help: consider relaxing the implicit `Sized` restriction
13
12
|
14
13
LL | fn assert_sized<T: ?Sized>() { }
@@ -24,7 +23,6 @@ LL | assert_sized::<Foo>();
24
23
| ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
25
24
|
26
25
= help: within `Foo`, the trait `std::marker::Sized` is not implemented for `A`
27
- = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
28
26
= note: required because it appears within the type `Foo`
29
27
help: consider relaxing the implicit `Sized` restriction
30
28
|
@@ -41,7 +39,6 @@ LL | assert_sized::<Bar<A>>();
41
39
| ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
42
40
|
43
41
= help: within `Bar<A>`, the trait `std::marker::Sized` is not implemented for `A`
44
- = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
45
42
= note: required because it appears within the type `Bar<A>`
46
43
help: consider relaxing the implicit `Sized` restriction
47
44
|
@@ -58,7 +55,6 @@ LL | assert_sized::<Bar<Bar<A>>>();
58
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
59
56
|
60
57
= help: within `Bar<Bar<A>>`, the trait `std::marker::Sized` is not implemented for `A`
61
- = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
62
58
= note: required because it appears within the type `Bar<A>`
63
59
= note: required because it appears within the type `Bar<Bar<A>>`
64
60
help: consider relaxing the implicit `Sized` restriction
0 commit comments