Skip to content

Commit

Permalink
Update ui test suite to nightly-2024-03-31
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 31, 2024
1 parent cc3847d commit 435bd1b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions tests/ui/not-quotable.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ error[E0277]: the trait bound `Ipv4Addr: ToTokens` is not satisfied
| required by a bound introduced by this call
|
= help: the following other types implement trait `ToTokens`:
bool
char
isize
i8
i16
i32
i64
i128
&'a T
&'a mut T
Box<T>
Cow<'a, T>
Option<T>
Rc<T>
RepInterp<T>
String
and $N others
= note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
8 changes: 4 additions & 4 deletions tests/ui/not-repeatable.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ error[E0599]: the method `quote_into_iter` exists for struct `Ipv4Addr`, but its
which is required by `Ipv4Addr: ext::RepToTokensExt`
`&mut Ipv4Addr: Iterator`
which is required by `&mut Ipv4Addr: ext::RepIteratorExt`
note: the traits `ToTokens` and `Iterator` must be implemented
note: the traits `Iterator` and `ToTokens` must be implemented
--> src/to_tokens.rs
|
| pub trait ToTokens {
Expand All @@ -28,7 +28,7 @@ note: the traits `ToTokens` and `Iterator` must be implemented
| ^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `quote_into_iter`, perhaps you need to implement one of them:
candidate #1: `ext::RepIteratorExt`
candidate #2: `ext::RepToTokensExt`
candidate #3: `ext::RepAsIteratorExt`
candidate #1: `ext::RepAsIteratorExt`
candidate #2: `ext::RepIteratorExt`
candidate #3: `ext::RepToTokensExt`
= note: this error originates in the macro `$crate::quote_bind_into_iter` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)

0 comments on commit 435bd1b

Please sign in to comment.