]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-types/issue-63593.stderr
New upstream version 1.59.0+dfsg1
[rustc.git] / src / test / ui / associated-types / issue-63593.stderr
CommitLineData
74b04a01 1error[E0277]: the size for values of type `Self` cannot be known at compilation time
a2a8927a 2 --> $DIR/issue-63593.rs:9:17
74b04a01 3 |
74b04a01 4LL | type This = Self;
a2a8927a 5 | ^^^^ doesn't have a size known at compile-time
74b04a01 6 |
94222f64
XL
7note: required by a bound in `MyTrait::This`
8 --> $DIR/issue-63593.rs:9:5
9 |
10LL | type This = Self;
11 | ^^^^^^^^^^^^^^^^^ required by this bound in `MyTrait::This`
f9f354fc
XL
12help: consider further restricting `Self`
13 |
1b1a35ee 14LL | trait MyTrait: Sized {
94222f64 15 | +++++++
74b04a01
XL
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0277`.