]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/test-parens.rs
Rollup merge of #106407 - mejrs:attr_check, r=compiler-errors
[rust.git] / tests / rustdoc / test-parens.rs
1 #![crate_name = "foo"]
2
3 // @has foo/fn.foo.html
4 // @has - '//div[@class="item-decl"]/pre[@class="rust"]' "_: &(dyn ToString + 'static)"
5 pub fn foo(_: &(ToString + 'static)) {}