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

8 lines
155 B
Rust

#![crate_name = "foo"]
// @has 'foo/fn.f.html'
// @has - //*[@'class="item-decl"]' '#[export_name = "f"] pub fn f()'
#[export_name = "\
f"]
pub fn f() {}