]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-20005.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-20005.stderr
CommitLineData
8faf50e0 1error[E0277]: the size for values of type `Self` cannot be known at compilation time
74b04a01 2 --> $DIR/issue-20005.rs:10:49
8faf50e0 3 |
74b04a01 4LL | trait From<Src> {
ba9703b0 5 | --- required by this bound in `From`
e1599b0c 6...
74b04a01
XL
7LL | ) -> <Dst as From<Self>>::Result where Dst: From<Self> {
8 | ^^^^^^^^^^- help: consider further restricting `Self`: `, Self: std::marker::Sized`
9 | |
10 | doesn't have a size known at compile-time
8faf50e0
XL
11 |
12 = help: the trait `std::marker::Sized` is not implemented for `Self`
0731742a 13 = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
8faf50e0
XL
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.