Skip to content

Commit

Permalink
Update ui test suite to nightly-2024-02-01
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 1, 2024
1 parent 2b40b08 commit 38cb167
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/ui/collect-unsized.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ error[E0277]: the size for values of type `str` cannot be known at compilation t
3 | inventory::collect!(Unsized);
| ^^^^^^^ doesn't have a size known at compile-time
|
= help: within `Unsized`, the trait `Sized` is not implemented for `str`
= help: within `Unsized`, the trait `Sized` is not implemented for `str`, which is required by `Unsized: Sized`
note: required because it appears within the type `Unsized`
--> tests/ui/collect-unsized.rs:1:12
|
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/non-sync.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ error[E0277]: `Rc<i32>` cannot be shared between threads safely
6 | inventory::collect!(Thing);
| ^^^^^ `Rc<i32>` cannot be shared between threads safely
|
= help: within `Thing`, the trait `Sync` is not implemented for `Rc<i32>`
= help: within `Thing`, the trait `Sync` is not implemented for `Rc<i32>`, which is required by `Thing: Sync`
note: required because it appears within the type `Thing`
--> tests/ui/non-sync.rs:4:8
|
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/submit-unrecognized.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0277]: the trait bound `Thing: Collect` is not satisfied
--> tests/ui/submit-unrecognized.rs:3:1
|
3 | inventory::submit!(Thing);
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Collect` is not implemented for `Thing`
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Collect` is not implemented for `Thing`, which is required by `Thing: ErasedNode`
|
= note: required for `Thing` to implement `ErasedNode`
= note: required for the cast from `&Thing` to `&'static (dyn ErasedNode + 'static)`
Expand Down

0 comments on commit 38cb167

Please sign in to comment.