S-04-non-storage-ink-impls.stderr 1.7 KB
Newer Older
1
error[E0271]: type mismatch resolving `<NonStorageStruct as non_storage_ink_impls::_::_::{closure#0}::TypeEq>::This == StorageStruct`
2
  --> $DIR/S-04-non-storage-ink-impls.rs:28:10
3
   |
4
28 |     impl NonStorageStruct {
5
   |          ^^^^^^^^^^^^^^^^
6
7
8
9
10
11
12
13
   |          |
   |          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 a macro (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
14
  --> $DIR/S-04-non-storage-ink-impls.rs:30:16
15
16
17
18
   |
9  |     pub struct StorageStruct {}
   |     ------------------------ function or associated item `constructor2` not found for this
...
19
30 |         pub fn constructor2() -> Self {
20
21
22
23
24
25
   |                ^^^^^^^^^^^^
   |                |
   |                function or associated item not found in `StorageStruct`
   |                help: there is an associated function with a similar name: `constructor1`

error[E0599]: no function or associated item named `message2` found for struct `StorageStruct` in the current scope
26
  --> $DIR/S-04-non-storage-ink-impls.rs:35:16
27
28
29
30
   |
9  |     pub struct StorageStruct {}
   |     ------------------------ function or associated item `message2` not found for this
...
31
35 |         pub fn message2(&self) {}
32
33
34
35
   |                ^^^^^^^^
   |                |
   |                function or associated item not found in `StorageStruct`
   |                help: there is an associated function with a similar name: `message1`