Skip to content

Commit d9f1225

Browse files
committed
Fix UI tests
1 parent 6bff050 commit d9f1225

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/lang/tests/ui/contract/fail/message-returns-non-codec.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ error[E0599]: the method `fire` exists for struct `ink_env::call::CallBuilder<De
4040
= note: the following trait bounds were not satisfied:
4141
`NonCodecType: parity_scale_codec::Decode`
4242
note: the following trait must be implemented
43-
--> $CARGO/parity-scale-codec-2.3.1/src/codec.rs
43+
--> $CARGO/parity-scale-codec-3.0.0/src/codec.rs
4444
|
4545
| / pub trait Decode: Sized {
4646
| | // !INTERNAL USE ONLY!

crates/lang/tests/ui/trait_def/fail/message_output_non_codec.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ error[E0277]: the trait bound `NonCodec: WrapperTypeEncode` is not satisfied
66
|
77
= note: required because of the requirements on the impl of `Encode` for `NonCodec`
88
note: required by a bound in `DispatchOutput`
9-
--> src/codegen/dispatch/type_check.rs:69:8
9+
--> src/codegen/dispatch/type_check.rs
1010
|
11-
69 | T: scale::Encode + 'static;
11+
| T: scale::Encode + 'static;
1212
| ^^^^^^^^^^^^^ required by this bound in `DispatchOutput`
1313

1414
error[E0599]: the method `fire` exists for struct `CallBuilder<E, Set<<E as Environment>::AccountId>, Unset<u64>, Unset<<E as Environment>::Balance>, Set<ExecutionInput<ArgumentList<ArgumentListEnd, ArgumentListEnd>>>, Set<ReturnType<NonCodec>>>`, but its trait bounds were not satisfied
@@ -24,7 +24,7 @@ error[E0599]: the method `fire` exists for struct `CallBuilder<E, Set<<E as Envi
2424
= note: the following trait bounds were not satisfied:
2525
`NonCodec: parity_scale_codec::Decode`
2626
note: the following trait must be implemented
27-
--> $CARGO/parity-scale-codec-2.3.1/src/codec.rs
27+
--> $CARGO/parity-scale-codec-3.0.0/src/codec.rs
2828
|
2929
| / pub trait Decode: Sized {
3030
| | // !INTERNAL USE ONLY!

0 commit comments

Comments
 (0)