]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/issue-63593.stderr
Fix rebase damage
[rust.git] / src / test / ui / associated-types / issue-63593.stderr
1 error[E0277]: the size for values of type `Self` cannot be known at compilation time
2   --> $DIR/issue-63593.rs:9:5
3    |
4 LL | trait MyTrait {
5    | ------------- required by `MyTrait`
6 LL |     type This = Self;
7    |     ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
8    |
9    = help: the trait `std::marker::Sized` is not implemented for `Self`
10    = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.