diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-10853.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-10853.rs b/src/test/ui/issues/issue-10853.rs new file mode 100644 index 000000000..3dcabf9b1 --- /dev/null +++ b/src/test/ui/issues/issue-10853.rs @@ -0,0 +1,15 @@ +// check-pass +// pretty-expanded FIXME #23616 + +#![deny(missing_docs)] +#![doc="module"] + +#[doc="struct"] +pub struct Foo; + +pub fn foo() { + #![doc="fn"] +} + +#[doc="main"] +pub fn main() {} |