]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/nul-error.rs
Auto merge of #107549 - Zoxc:rustc-shared, r=jyn514
[rust.git] / tests / rustdoc / nul-error.rs
1 // build-aux-docs
2 // ignore-cross-compile
3
4 #![crate_name = "foo"]
5
6 // @has foo/fn.foo.html '//code' ''
7 #[doc = "Attempted to pass a string containing `\0`"]
8 pub fn foo() {}