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