Skip to content

Commit

Permalink
fixed test output
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Aug 16, 2024
1 parent 4ca3208 commit 5017763
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions near-sdk/compilation_tests/schema_derive_invalids.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,20 @@ error[E0277]: the trait bound `Inner: JsonSchema` is not satisfied
| ^^^^^ the trait `JsonSchema` is not implemented for `Inner`
|
= help: the following other types implement trait `JsonSchema`:
&'a T
&'a mut T
()
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
(T0, T1, T2, T3, T4)
(T0, T1, T2, T3, T4, T5)
bool
char
isize
i8
i16
i32
i64
i128
and $N others
note: required by a bound in `SchemaGenerator::subschema_for`
--> $CARGO/schemars-0.8.21/src/gen.rs
|
| pub fn subschema_for<T: ?Sized + JsonSchema>(&mut self) -> Schema {
| ^^^^^^^^^^ required by this bound in `SchemaGenerator::subschema_for`
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
note: If the actual output is the correct output you can bless it by rerunning
your test with the environment variable TRYBUILD=overwrite

0 comments on commit 5017763

Please sign in to comment.