]> git.proxmox.com Git - rustc.git/blobdiff - vendor/quote/tests/ui/not-repeatable.stderr
Update upstream source from tag 'upstream/1.70.0+dfsg1'
[rustc.git] / vendor / quote / tests / ui / not-repeatable.stderr
index 264a89f9e9473dc332b94d6fa068acbf1abda81d..2ed1da0431fac7e94256d0c73b5e35ff5335bc5a 100644 (file)
@@ -1,5 +1,5 @@
 error[E0599]: the method `quote_into_iter` exists for struct `Ipv4Addr`, but its trait bounds were not satisfied
- --> tests/ui/not-repeatable.rs:7:9
+ --> tests/ui/not-repeatable.rs:7:13
   |
 3 | struct Ipv4Addr;
   | ---------------
@@ -10,8 +10,8 @@ error[E0599]: the method `quote_into_iter` exists for struct `Ipv4Addr`, but its
   | doesn't satisfy `Ipv4Addr: ext::RepIteratorExt`
   | doesn't satisfy `Ipv4Addr: ext::RepToTokensExt`
 ...
-7 |     _ = quote! { #(#ip)* };
-  |         ^^^^^^^^^^^^^^^^^^ method cannot be called on `Ipv4Addr` due to unsatisfied trait bounds
+7 |     let _ = quote! { #(#ip)* };
+  |             ^^^^^^^^^^^^^^^^^^ method cannot be called on `Ipv4Addr` due to unsatisfied trait bounds
   |
   = note: the following trait bounds were not satisfied:
           `Ipv4Addr: Iterator`