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
173 B
Rust
Raw Normal View History

2017-08-05 16:54:48 -05:00
// build-aux-docs
// ignore-cross-compile
#![crate_name = "foo"]
2017-08-07 13:17:45 -05:00
// @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() {}