]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/intra-links-warning-crlf.rs
Auto merge of #61212 - alexcrichton:skip-rustc, r=pietroalbini
[rust.git] / src / test / rustdoc-ui / intra-links-warning-crlf.rs
1 // ignore-tidy-cr
2
3 // compile-pass
4
5 // This file checks the spans of intra-link warnings in a file with CRLF line endings. The
6 // .gitattributes file in this directory should enforce it.
7
8 /// [error]
9 pub struct A;
10
11 ///
12 /// docs [error1]
13
14 /// docs [error2]
15 ///
16 pub struct B;
17
18 /**
19  * This is a multi-line comment.
20  *
21  * It also has an [error].
22  */
23 pub struct C;