about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/intra-links-warning-crlf.rs
blob: 67bd9f73eeb5b1972882ee21faaeae2d9ccdaae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// ignore-tidy-cr

// build-pass (FIXME(62277): could be check-pass?)

// This file checks the spans of intra-link warnings in a file with CRLF line endings. The
// .gitattributes file in this directory should enforce it.

/// [error]
pub struct A;

///
/// docs [error1]

/// docs [error2]
///
pub struct B;

/**
 * This is a multi-line comment.
 *
 * It also has an [error].
 */
pub struct C;