]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/test-parens.rs
Rollup merge of #107580 - lenko-d:default_value_for_a_lifetime_generic_parameter_prod...
[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)) {}