]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/associated-type-bounds/inside-adt.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / associated-type-bounds / inside-adt.stderr
index 74e858ca8616f13c8ae1738e364014144aa7d96a..0cacd78724732ee19b83d57aeb6cd8ce566f0e5a 100644 (file)
@@ -64,11 +64,11 @@ LL | enum E1 { V(dyn Iterator<Item: Copy>) }
 help: borrowed types always have a statically known size
    |
 LL | enum E1 { V(&dyn Iterator<Item: Copy>) }
-   |             ^
+   |             +
 help: the `Box` type always has a statically known size and allocates its contents in the heap
    |
 LL | enum E1 { V(Box<dyn Iterator<Item: Copy>>) }
-   |             ^^^^                        ^
+   |             ++++                        +
 
 error[E0277]: the size for values of type `(dyn Iterator<Item = impl Sized> + 'static)` cannot be known at compilation time
   --> $DIR/inside-adt.rs:16:13
@@ -82,11 +82,11 @@ LL | enum E3 { V(dyn Iterator<Item: 'static>) }
 help: borrowed types always have a statically known size
    |
 LL | enum E3 { V(&dyn Iterator<Item: 'static>) }
-   |             ^
+   |             +
 help: the `Box` type always has a statically known size and allocates its contents in the heap
    |
 LL | enum E3 { V(Box<dyn Iterator<Item: 'static>>) }
-   |             ^^^^                           ^
+   |             ++++                           +
 
 error[E0277]: the size for values of type `(dyn Iterator<Item = impl Copy> + 'static)` cannot be known at compilation time
   --> $DIR/inside-adt.rs:20:15
@@ -100,11 +100,11 @@ LL | union U1 { f: dyn Iterator<Item: Copy> }
 help: borrowed types always have a statically known size
    |
 LL | union U1 { f: &dyn Iterator<Item: Copy> }
-   |               ^
+   |               +
 help: the `Box` type always has a statically known size and allocates its contents in the heap
    |
 LL | union U1 { f: Box<dyn Iterator<Item: Copy>> }
-   |               ^^^^                        ^
+   |               ++++                        +
 
 error[E0277]: the size for values of type `(dyn Iterator<Item = impl Sized> + 'static)` cannot be known at compilation time
   --> $DIR/inside-adt.rs:25:15
@@ -118,11 +118,11 @@ LL | union U3 { f: dyn Iterator<Item: 'static> }
 help: borrowed types always have a statically known size
    |
 LL | union U3 { f: &dyn Iterator<Item: 'static> }
-   |               ^
+   |               +
 help: the `Box` type always has a statically known size and allocates its contents in the heap
    |
 LL | union U3 { f: Box<dyn Iterator<Item: 'static>> }
-   |               ^^^^                           ^
+   |               ++++                           +
 
 error: aborting due to 13 previous errors