Fixing error import #1353
Annotations
5 errors
lint-wasm:
src/structs.rs#L154
error[E0422]: cannot find struct, variant or union type `IssuePreRequest` in this scope
--> tests/rgb/web/contracts.rs:96:21
|
96 | let issue_req = IssuePreRequest {
| ^^^^^^^^^^^^^^^
|
::: /home/runner/work/bitmask-core/bitmask-core/src/structs.rs:154:1
|
154 | pub struct IssueRequest {
| ----------------------- similarly named struct `IssueRequest` defined here
|
help: a struct with a similar name exists
|
96 | let issue_req = IssueRequest {
| ~~~~~~~~~~~~
help: consider importing this struct
|
5 + use bitmask_core::structs::IssuePreRequest;
|
|
lint-wasm:
tests/rgb/web/contracts.rs#L96
error[E0422]: cannot find struct, variant or union type `IssuePreRequest` in this scope
--> tests/rgb/web/contracts.rs:96:21
|
96 | let issue_req = IssuePreRequest {
| ^^^^^^^^^^^^^^^
|
::: /home/runner/work/bitmask-core/bitmask-core/src/structs.rs:154:1
|
154 | pub struct IssueRequest {
| ----------------------- similarly named struct `IssueRequest` defined here
|
help: a struct with a similar name exists
|
96 | let issue_req = IssueRequest {
| ~~~~~~~~~~~~
help: consider importing this struct
|
5 + use bitmask_core::structs::IssuePreRequest;
|
|
lint-wasm
Process completed with exit code 1.
|
test
The run was canceled by @josediegorobles.
|
test
The operation was canceled.
|