pallet-macro: Ensure that building with missing_docs works (#11075)

* pallet-macro: Ensure that building with `missing_docs` works

Before this pr it was failing when compiling with `missing_docs`, because the macro was generating
functions etc without the appropriate docs. In the case of this pr it is mainly about hiding these
functions in the docs as they are internal api anyway.

* Fix UI test
This commit is contained in:
Bastian Köcher authored and GitHub committed 2022-03-21 11:35:49 +01:00
1 parent 190c6461f2
commit 522e5d13aa
7 files changed
+30 -5

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ sp-runtime = { version = "6.0.0", default-features = false, path = "../../../pri
sp-core = { version = "6.0.0", default-features = false, path = "../../../primitives/core" }
sp-std = { version = "4.0.0", default-features = false, path = "../../../primitives/std" }
sp-version = { version = "5.0.0", default-features = false, path = "../../../primitives/version" }
trybuild = "1.0.53"
trybuild = { version = "1.0.53", features = [ "diff" ] }
pretty_assertions = "1.0.0"
rustversion = "1.0.6"
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../system" }