]> git.proxmox.com Git - rustc.git/blob - src/tools/rustfmt/tests/target/issue_4057.rs
New upstream version 1.52.1+dfsg1
[rustc.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;