]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/wf/wf-impl-self-type.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / wf / wf-impl-self-type.stderr
index bc30fc90f3a28c261ae257ad9d36c533d354ed86..371321793adf89f5c54c4cd13534f84376ed96a1 100644 (file)
@@ -3,13 +3,13 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
    |
 LL | impl Foo for Option<[u8]> {}
    |              ^^^^^^^^^^^^ doesn't have a size known at compile-time
-   | 
-  ::: $SRC_DIR/core/src/option.rs:LL:COL
-   |
-LL | pub enum Option<T> {
-   |                 - required by this bound in `Option`
    |
    = help: the trait `Sized` is not implemented for `[u8]`
+note: required by a bound in `Option`
+  --> $SRC_DIR/core/src/option.rs:LL:COL
+   |
+LL | pub enum Option<T> {
+   |                 ^ required by this bound in `Option`
 
 error: aborting due to previous error