]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/nul-error.rs
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[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() {}