You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Currently some procedural macro documentation code snippets are defined as nocompile. For instance decl_storage documentation example.
Making the example build will allow to avoid many regression.
At the time, the task is not easy due to the way hidden_include works (documentation code snippet is seen as a part of the crate so no include is generated, but that is not the way rust doc works).
Moving doc does not really help to.
This could probably be solve in future rust version, depending on proc_macro evolution. It may also be solved by making the hidden_module tools compatible with documentation (not sure it is worth it).
Currently some procedural macro documentation code snippets are defined as
nocompile
. For instancedecl_storage
documentation example.Making the example build will allow to avoid many regression.
At the time, the task is not easy due to the way
hidden_include
works (documentation code snippet is seen as a part of the crate so no include is generated, but that is not the way rust doc works).Moving doc does not really help to.
This could probably be solve in future rust version, depending on proc_macro evolution. It may also be solved by making the hidden_module tools compatible with documentation (not sure it is worth it).
Issue created for #1437.
The text was updated successfully, but these errors were encountered: