summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue_4057.rs
blob: 467e67bca7c3c0626e3262ce08a934f63eff2b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// rustfmt-format_code_in_doc_comments: true

/// ```
/// # #[rustversion::since(1.36)]
/// # fn dox() {
/// # use std::pin::Pin;
/// # type Projection<'a> = &'a ();
/// # type ProjectionRef<'a> = &'a ();
/// # trait Dox {
/// fn project_ex(self: Pin<&mut Self>) -> Projection<'_>;
/// fn project_ref(self: Pin<&Self>) -> ProjectionRef<'_>;
/// # }
/// # }
/// ```
struct Foo;