summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/nul-error.rs
blob: 3d30f5f6b77f8ae8f739a6d89577fbfcbd574864 (plain)
1
2
3
4
5
6
7
8
// build-aux-docs
// ignore-cross-compile

#![crate_name = "foo"]

// @has foo/fn.foo.html '//code' ''
#[doc = "Attempted to pass a string containing `\0`"]
pub fn foo() {}