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

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