#![crate_name = "foo"]

// @has foo/trait.Foo.html
// @has - '//details[@class="rustdoc-toggle"]//code' 'bar'
pub trait Foo {
    fn bar() -> ();
}

Add test for trait toggle location
Add test for trait toggle location
