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

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