]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/variants/variant-used-as-type.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / variants / variant-used-as-type.stderr
index 096dd16c63431010da8c3a66ecb7222ec248f294..64424abbcecce2907bf7747e8cc4210bdf4fd627 100644 (file)
@@ -7,9 +7,9 @@ LL |     B(Ty::A),
 help: try using the variant's enum
    |
 LL |     B(E),
-   |       ^
+   |       ~
 LL |     B(Ty),
-   |       ^^
+   |       ~~
 
 error[E0573]: expected type, found variant `E::A`
   --> $DIR/variant-used-as-type.rs:17:6
@@ -20,9 +20,9 @@ LL | impl E::A {}
 help: try using the variant's enum
    |
 LL | impl E {}
-   |      ^
+   |      ~
 LL | impl Ty {}
-   |      ^^
+   |      ~~
 
 error: aborting due to 2 previous errors