diff options
| author | bors <bors@rust-lang.org> | 2017-02-08 18:11:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-02-08 18:11:06 +0000 |
| commit | 4379e2fa08bf31125efa1a9d8bc3c85b16e2c2f3 (patch) | |
| tree | 58de9050e9127eb919f6f11cb93bd951b457b644 /src/test/rustdoc | |
| parent | 10f6a5c4431e09d355a0ba319a630e02a1e38361 (diff) | |
| parent | 62d22678d4a7c6a34837137073d8767166d6db1e (diff) | |
| download | rust-4379e2fa08bf31125efa1a9d8bc3c85b16e2c2f3.tar.gz rust-4379e2fa08bf31125efa1a9d8bc3c85b16e2c2f3.zip | |
Auto merge of #39645 - frewsxcv:rollup, r=frewsxcv
Rollup of 11 pull requests - Successful merges: #39462, #39512, #39529, #39557, #39561, #39582, #39583, #39597, #39622, #39624, #39630 - Failed merges:
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/test_option_check/bar.rs | 19 | ||||
| -rw-r--r-- | src/test/rustdoc/test_option_check/test.rs | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/test/rustdoc/test_option_check/bar.rs b/src/test/rustdoc/test_option_check/bar.rs new file mode 100644 index 00000000000..51daa807526 --- /dev/null +++ b/src/test/rustdoc/test_option_check/bar.rs @@ -0,0 +1,19 @@ +// Copyright 2017 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// compile-flags: --test +// check-test-line-numbers-match + +/// This looks like another awesome test! +/// +/// ``` +/// println!("foo?"); +/// ``` +pub fn foooo() {} diff --git a/src/test/rustdoc/test_option_check/test.rs b/src/test/rustdoc/test_option_check/test.rs index b2afe43204d..a9578c5f434 100644 --- a/src/test/rustdoc/test_option_check/test.rs +++ b/src/test/rustdoc/test_option_check/test.rs @@ -11,6 +11,8 @@ // compile-flags: --test // check-test-line-numbers-match +pub mod bar; + /// This is a Foo; /// /// ``` |
