rust/tests/rustdoc/nul-error.rs
2023-01-11 09:32:08 +00:00

9 lines
173 B
Rust

// 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() {}