]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue_4057.rs
Auto merge of #85335 - GuillaumeGomez:rollup-0tvc14g, r=GuillaumeGomez
[rust.git] / src / tools / rustfmt / tests / target / issue_4057.rs
1 // rustfmt-format_code_in_doc_comments: true
2
3 /// ```
4 /// # #[rustversion::since(1.36)]
5 /// # fn dox() {
6 /// # use std::pin::Pin;
7 /// # type Projection<'a> = &'a ();
8 /// # type ProjectionRef<'a> = &'a ();
9 /// # trait Dox {
10 /// fn project_ex(self: Pin<&mut Self>) -> Projection<'_>;
11 /// fn project_ref(self: Pin<&Self>) -> ProjectionRef<'_>;
12 /// # }
13 /// # }
14 /// ```
15 struct Foo;