Add test for trait toggle location

This commit is contained in:
Jacob Hoffman-Andrews 2021-05-16 12:50:15 -07:00
parent 73a5c1f944
commit 6696a60f0f

View file

@ -0,0 +1,7 @@
#![crate_name = "foo"]
// @has foo/trait.Foo.html
// @has - '//details[@class="rustdoc-toggle"]//code' 'bar'
pub trait Foo {
fn bar() -> ();
}