]>
Commit | Line | Data |
---|---|---|
0731742a | 1 | // ignore-tidy-cr\r |
60c5eb7d | 2 | // build-pass\r |
0731742a XL |
3 | \r |
4 | // This file checks the spans of intra-link warnings in a file with CRLF line endings. The\r | |
5 | // .gitattributes file in this directory should enforce it.\r | |
6 | \r | |
7 | /// [error]\r | |
8 | pub struct A;\r | |
60c5eb7d | 9 | //~^^ WARNING `[error]` cannot be resolved\r |
0731742a XL |
10 | \r |
11 | ///\r | |
12 | /// docs [error1]\r | |
60c5eb7d | 13 | //~^ WARNING `[error1]` cannot be resolved\r |
0731742a XL |
14 | \r |
15 | /// docs [error2]\r | |
16 | ///\r | |
17 | pub struct B;\r | |
60c5eb7d | 18 | //~^^^ WARNING `[error2]` cannot be resolved\r |
0731742a XL |
19 | \r |
20 | /**\r | |
21 | * This is a multi-line comment.\r | |
22 | *\r | |
23 | * It also has an [error].\r | |
24 | */\r | |
25 | pub struct C;\r | |
60c5eb7d | 26 | //~^^^ WARNING `[error]` cannot be resolved\r |