rust/tests/rustdoc/nul-error.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
175 B
Rust
Raw Normal View History

2017-08-05 16:54:48 -05:00
//@ build-aux-docs
//@ ignore-cross-compile
#![crate_name = "foo"]
//@ has foo/fn.foo.html '//code' ''
2017-08-05 16:54:48 -05:00
#[doc = "Attempted to pass a string containing `\0`"]
pub fn foo() {}