Unverified Commit 8bc75a5c authored by Hero Bird's avatar Hero Bird Committed by GitHub
Browse files

[core, lang] fix cargo test --workspace failures (#323)

parent 3bc5b75c
Pipeline #80018 failed with stages
in 4 minutes and 7 seconds
......@@ -11,6 +11,7 @@ readme = "../README.md"
proc-macro = true
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
quote = "1.0"
syn = { version = "1.0", features = ["full"] }
proc-macro2 = "1.0"
......@@ -22,4 +23,6 @@ trybuild = "1.0"
[features]
default = ["std"]
std = []
std = [
"ink_primitives/std",
]
......@@ -3,3 +3,5 @@ error: no #[ink(storage)] struct found but expected exactly 1
|
3 | #[ink::contract(version = "0.1.0")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
......@@ -3,6 +3,8 @@ error: encountered 2 conflicting storage structs
|
3 | #[ink::contract(version = "0.1.0")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: conflicting storage struct
--> $DIR/15-multiple-storage-structs.rs:6:12
......
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