]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-18199.rs
Rollup merge of #107580 - lenko-d:default_value_for_a_lifetime_generic_parameter_prod...
[rust.git] / tests / rustdoc / issue-18199.rs
1 // compile-flags:--test
2
3 #![doc(test(attr(feature(staged_api))))]
4
5 /// ```
6 /// #![unstable(feature="test", issue="18199")]
7 /// fn main() {}
8 /// ```
9 pub fn foo() {}