Unverified Commit a45d48c1 authored by Michael Müller's avatar Michael Müller Committed by GitHub
Browse files

Adjust error fixtures to nightly changes (#899)

parent c4f2b428
Pipeline #154657 failed with stages
in 8 minutes and 14 seconds
......@@ -4,9 +4,9 @@ error[E0277]: the trait bound `NonCodec: WrapperTypeEncode` is not satisfied
18 | pub fn returns_non_codec_type(&self) -> NonCodec {
| ^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `NonCodec`
|
::: $WORKSPACE/crates/lang/src/traits.rs
|
| type Output: scale::Encode + 'static;
| ------------- required by this bound in `ink_lang::FnOutput::Output`
|
= note: required because of the requirements on the impl of `Encode` for `NonCodec`
note: required by a bound in `ink_lang::FnOutput::Output`
--> $DIR/traits.rs:79:18
|
79 | type Output: scale::Encode + 'static;
| ^^^^^^^^^^^^^ required by this bound in `ink_lang::FnOutput::Output`
error[E0271]: type mismatch resolving `<NonStorageStruct as non_storage_ink_impls::_::_::{closure#0}::TypeEq>::This == StorageStruct`
--> $DIR/S-04-non-storage-ink-impls.rs:28:10
|
28 | impl NonStorageStruct {
| ^^^^^^^^^^^^^^^^ expected struct `StorageStruct`, found struct `NonStorageStruct`
|
note: required by a bound in `non_storage_ink_impls::_::_::{closure#0}::assert_type_eq_all`
--> $DIR/S-04-non-storage-ink-impls.rs:28:10
|
28 | impl NonStorageStruct {
| ^^^^^^^^^^^^^^^^
| |
| expected struct `StorageStruct`, found struct `NonStorageStruct`
| required by a bound in this
| required by this bound in `non_storage_ink_impls::_::_::{closure#0}::assert_type_eq_all`
|
= note: this error originates in the macro `::ink_lang::static_assertions::assert_type_eq_all` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `constructor2` found for struct `StorageStruct` in the current scope
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment