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 23:54:48 +02:00
// build-aux-docs
// ignore-cross-compile
#![crate_name = "foo"]
2017-08-07 20:17:45 +02:00
// @has foo/fn.foo.html '//code' ''
2017-08-05 23:54:48 +02:00
#[doc = "Attempted to pass a string containing `\0`"]
pub fn foo() {}