diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-08-05 23:54:48 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-08-06 21:30:39 +0200 |
| commit | 26dd77f4f3ec4adfa22cb6dfd25fafc5b55b7466 (patch) | |
| tree | d1c2b92b18d1a65159ae8f4d6bbc54c0b0031c94 /src/test/rustdoc | |
| parent | 5a5a32a4a82027b3f4112919fa307dbae744069b (diff) | |
| download | rust-26dd77f4f3ec4adfa22cb6dfd25fafc5b55b7466.tar.gz rust-26dd77f4f3ec4adfa22cb6dfd25fafc5b55b7466.zip | |
Fix hoedown error in rustdoc
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/nul-error.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/rustdoc/nul-error.rs b/src/test/rustdoc/nul-error.rs new file mode 100644 index 00000000000..f20d19d0e59 --- /dev/null +++ b/src/test/rustdoc/nul-error.rs @@ -0,0 +1,18 @@ +// 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. + +// build-aux-docs +// ignore-cross-compile + +#![crate_name = "foo"] + +// @has foo/fn.foo.html '//code' '0' +#[doc = "Attempted to pass a string containing `\0`"] +pub fn foo() {} |
