Files
pezkuwi-subxt/substrate/primitives/runtime-interface/tests/ui/no_versioned_conditional_build.stderr
T
Davide Galassi 4185a213ac Support for cfg attributes in host functions definitions (#14189)
* Support cfg attribute in host functions definitions

* Added test to check feature gated methods are not included

* Versioned conditional compiled host function are forbidden

* Improve runtime-interface macro docs

* Fix doc

* Apply review suggestion

Co-authored-by: Koute <koute@users.noreply.github.com>

* Better error message

* Rust fmt

* More refinements to the docs

---------

Co-authored-by: Koute <koute@users.noreply.github.com>
2023-05-25 13:27:34 +02:00

6 lines
160 B
Plaintext

error: Conditional compilation is not supported for versioned functions
--> tests/ui/no_versioned_conditional_build.rs:7:2
|
7 | #[version(2)]
| ^