]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/structs/struct-field-cfg.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / structs / struct-field-cfg.stderr
index 740ea3829dc511b2e1a683a2bc1eb45b13701984..5ec47c093a9b03a0a2cd8d0e9c08df0cae707208 100644 (file)
@@ -21,11 +21,11 @@ LL |     let Foo { #[cfg(any())] present: () } = foo;
 help: include the missing field in the pattern
    |
 LL |     let Foo { present } = foo;
-   |             ^^^^^^^^^^^
+   |             ~~~~~~~~~~~
 help: if you don't care about this missing field, you can explicitly ignore it
    |
 LL |     let Foo { .. } = foo;
-   |             ^^^^^^
+   |             ~~~~~~
 
 error[E0026]: struct `Foo` does not have a field named `absent`
   --> $DIR/struct-field-cfg.rs:16:42