Skip to content

Commit 995513c

Browse files
Add test for attribute display in rustdoc
1 parent 78698dd commit 995513c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#![crate_name = "foo"]
2+
3+
// @has 'foo/fn.f.html'
4+
// @has - //*[@'class="docblock item-decl"]' '#[export_name = "f"] pub fn f()'
5+
#[export_name = "\
6+
f"]
7+
pub fn f() {}

0 commit comments

Comments
 (0)