Skip to content

Commit d84bcc3

Browse files
committed
Update ui test suite to nightly-2022-07-02
1 parent 8cf6d7b commit d84bcc3

File tree

1 file changed

+32
-44
lines changed

1 file changed

+32
-44
lines changed

tests/ui/not-repeatable.stderr

Lines changed: 32 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,35 @@
11
error[E0599]: the method `quote_into_iter` exists for struct `Ipv4Addr`, but its trait bounds were not satisfied
2-
--> tests/ui/not-repeatable.rs:7:13
3-
|
4-
3 | struct Ipv4Addr;
5-
| ----------------
6-
| | |
7-
| | method `quote_into_iter` not found for this struct
8-
| doesn't satisfy `Ipv4Addr: Iterator`
9-
| doesn't satisfy `Ipv4Addr: ToTokens`
10-
| doesn't satisfy `Ipv4Addr: quote::__private::ext::RepIteratorExt`
11-
| doesn't satisfy `Ipv4Addr: quote::__private::ext::RepToTokensExt`
2+
--> tests/ui/not-repeatable.rs:7:13
3+
|
4+
3 | struct Ipv4Addr;
5+
| ---------------
6+
| | |
7+
| | method `quote_into_iter` not found for this struct
8+
| doesn't satisfy `Ipv4Addr: Iterator`
9+
| doesn't satisfy `Ipv4Addr: ToTokens`
10+
| doesn't satisfy `Ipv4Addr: quote::__private::ext::RepIteratorExt`
11+
| doesn't satisfy `Ipv4Addr: quote::__private::ext::RepToTokensExt`
1212
...
13-
7 | let _ = quote! { #(#ip)* };
14-
| ^^^^^^^^^^^^^^^^^^ method cannot be called on `Ipv4Addr` due to unsatisfied trait bounds
15-
|
16-
= note: the following trait bounds were not satisfied:
17-
`Ipv4Addr: Iterator`
18-
which is required by `Ipv4Addr: quote::__private::ext::RepIteratorExt`
19-
`&Ipv4Addr: Iterator`
20-
which is required by `&Ipv4Addr: quote::__private::ext::RepIteratorExt`
21-
`Ipv4Addr: ToTokens`
22-
which is required by `Ipv4Addr: quote::__private::ext::RepToTokensExt`
23-
`&mut Ipv4Addr: Iterator`
24-
which is required by `&mut Ipv4Addr: quote::__private::ext::RepIteratorExt`
13+
7 | let _ = quote! { #(#ip)* };
14+
| ^^^^^^^^^^^^^^^^^^ method cannot be called on `Ipv4Addr` due to unsatisfied trait bounds
15+
|
16+
= note: the following trait bounds were not satisfied:
17+
`Ipv4Addr: Iterator`
18+
which is required by `Ipv4Addr: quote::__private::ext::RepIteratorExt`
19+
`&Ipv4Addr: Iterator`
20+
which is required by `&Ipv4Addr: quote::__private::ext::RepIteratorExt`
21+
`Ipv4Addr: ToTokens`
22+
which is required by `Ipv4Addr: quote::__private::ext::RepToTokensExt`
23+
`&mut Ipv4Addr: Iterator`
24+
which is required by `&mut Ipv4Addr: quote::__private::ext::RepIteratorExt`
2525
note: the following traits must be implemented
26-
--> $RUST/core/src/iter/traits/iterator.rs
27-
|
28-
| / pub trait Iterator {
29-
| | /// The type of the elements being iterated over.
30-
| | #[stable(feature = "rust1", since = "1.0.0")]
31-
| | type Item;
32-
... |
33-
| | }
34-
| | }
35-
| |__^
36-
|
37-
::: src/to_tokens.rs
38-
|
39-
| / pub trait ToTokens {
40-
| | /// Write `self` to the given `TokenStream`.
41-
| | ///
42-
| | /// The token append methods provided by the [`TokenStreamExt`] extension
43-
... |
44-
| | }
45-
| | }
46-
| |_^
47-
= note: this error originates in the macro `$crate::quote_bind_into_iter` (in Nightly builds, run with -Z macro-backtrace for more info)
26+
--> $RUST/core/src/iter/traits/iterator.rs
27+
|
28+
| pub trait Iterator {
29+
| ^^^^^^^^^^^^^^^^^^
30+
|
31+
::: src/to_tokens.rs
32+
|
33+
| pub trait ToTokens {
34+
| ^^^^^^^^^^^^^^^^^^
35+
= note: this error originates in the macro `$crate::quote_bind_into_iter` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)