Skip to content

Commit

Permalink
Update UI tests for latest rustc.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Sep 20, 2023
1 parent 28de158 commit bbb124e
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 26 deletions.
8 changes: 4 additions & 4 deletions core/codegen/tests/ui-fail-nightly/responder-types.stderr
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
error[E0277]: the trait bound `u8: Responder<'_, '_>` is not satisfied
--> tests/ui-fail-nightly/responder-types.rs:5:5
--> tests/ui-fail-nightly/responder-types.rs:5:12
|
5 | thing: u8,
| ^^^^^^^^^ the trait `Responder<'_, '_>` is not implemented for `u8`
| ^^ the trait `Responder<'_, '_>` is not implemented for `u8`
|
= help: the following other types implement trait `Responder<'r, 'o>`:
<Thing1 as Responder<'r, 'o>>
Expand Down Expand Up @@ -39,10 +39,10 @@ note: required by a bound in `rocket::Response::<'r>::set_header`
| ^^^^^^^^^^^^^^^^ required by this bound in `Response::<'r>::set_header`

error[E0277]: the trait bound `u8: Responder<'_, '_>` is not satisfied
--> tests/ui-fail-nightly/responder-types.rs:16:5
--> tests/ui-fail-nightly/responder-types.rs:16:12
|
16 | thing: u8,
| ^^^^^^^^^ the trait `Responder<'_, '_>` is not implemented for `u8`
| ^^ the trait `Responder<'_, '_>` is not implemented for `u8`
|
= help: the following other types implement trait `Responder<'r, 'o>`:
<Thing1 as Responder<'r, 'o>>
Expand Down
Loading

0 comments on commit bbb124e

Please sign in to comment.