2018-12-10 11:24:39 -06:00
|
|
|
// ignore-tidy-cr
|
|
|
|
|
2019-07-02 16:30:28 -05:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
|
|
// 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;
|