summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/test-parens.rs
blob: 9640b96b6b546b2aac923e62df70484d8647a6d9 (plain)
1
2
3
4
5
#![crate_name = "foo"]

// @has foo/fn.foo.html
// @has - '//pre[@class="rust item-decl"]' "_: &(dyn ToString + 'static)"
pub fn foo(_: &(ToString + 'static)) {}