#[model] macro does not work in RustRover #4228
Labels
Enhancement
New feature or request
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
macros
Anything defined in the
#[model]
macro does not resolve and prevents code completion from working on basically everything iniroha_data_model
. Commenting out the#[model]
macro call makes everything defined there immediately available.It would be nice to debug why this fails and make sure it either gets fixed in the intellij rust extension or worked around in our macro (for example by detecting the ij-rust invocation, see intellij-rust/intellij-rust#9711, and emitting simpler code)
When trying to manually expand the
#[model]
macro I get the following error message: "Failed to expand macro: cannot find ModData formod
containing the macro call (internal error)". I am also getting a lot of errors stating that the "Modulemodel
is private" (not sure why it thinks that it's private)The text was updated successfully, but these errors were encountered: