]> git.lizzy.rs Git - rust.git/commit
Auto merge of #3657 - roblabla:bugfix-missing-docs-global-asm, r=phansch
authorbors <bors@rust-lang.org>
Mon, 14 Jan 2019 14:50:27 +0000 (14:50 +0000)
committerbors <bors@rust-lang.org>
Mon, 14 Jan 2019 14:50:27 +0000 (14:50 +0000)
commit19553aee2cef35cb3b3409128f76f3819a43b925
tree3a547f66c88f367be1e07847d3a1c310f7451a84
parent11ba624e38fb81eb05730072f4a2033caee23da2
parent79203653d17ae9abcd6ee3af7ce97fded41d6b8d
Auto merge of #3657 - roblabla:bugfix-missing-docs-global-asm, r=phansch

Missing docs: don't require documenting Global Asm items.

global_asm! items cannot be documented, the lint still gets triggered after adding documentation to the macro invocation. Furthermore, even if we could add documentation to the AST node, rustdoc doesn't render it anyways.

Playground example: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=5182df182f0ffbbab4c3107e43368ac3