Skip to content

Commit

Permalink
add doc(include) to the save-analysis test
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus committed Jan 31, 2018
1 parent ab7f02d commit 5a350c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/run-make/save-analysis/extra-docs.md
@@ -0,0 +1 @@
Extra docs for this struct.
4 changes: 4 additions & 0 deletions src/test/run-make/save-analysis/foo.rs
Expand Up @@ -12,6 +12,7 @@
#![feature(box_syntax)]
#![feature(rustc_private)]
#![feature(associated_type_defaults)]
#![feature(external_doc)]

extern crate graphviz;
// A simple rust project
Expand Down Expand Up @@ -461,3 +462,6 @@ impl Iterator for SilenceGenerator {
trait Foo {
type Bar = FrameBuffer;
}

#[doc(include="extra-docs.md")]
struct StructWithDocs;

0 comments on commit 5a350c1

Please sign in to comment.