File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 1- // ignore-tidy-end-whitespace
2-
31#![ deny( intra_doc_link_resolution_failure) ]
42
53// An error in calculating spans while reporting intra-doc link resolution errors caused rustdoc to
Original file line number Diff line number Diff line change 11error: `[i]` cannot be resolved, ignoring it...
2- --> $DIR/intra-link-span-ice-55723.rs:11 :10
2+ --> $DIR/intra-link-span-ice-55723.rs:9 :10
33 |
44LL | /// (arr[i])
55 | ^ cannot be resolved, ignoring
66 |
77note: lint level defined here
8- --> $DIR/intra-link-span-ice-55723.rs:3 :9
8+ --> $DIR/intra-link-span-ice-55723.rs:1 :9
99 |
1010LL | #![deny(intra_doc_link_resolution_failure)]
1111 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change 11// compile-flags: -Z continue-parse-after-error
22
3-
4- // ignore-tidy-tab
5-
63static FOO : & ' static [ u8 ] = b"\f " ; //~ ERROR unknown byte escape
74
85pub fn main ( ) {
Original file line number Diff line number Diff line change 11error: unknown byte escape: f
2- --> $DIR/byte-string-literals.rs:6 :32
2+ --> $DIR/byte-string-literals.rs:3 :32
33 |
44LL | static FOO: &'static [u8] = b"\f";
55 | ^ unknown byte escape
66
77error: unknown byte escape: f
8- --> $DIR/byte-string-literals.rs:9 :8
8+ --> $DIR/byte-string-literals.rs:6 :8
99 |
1010LL | b"\f";
1111 | ^ unknown byte escape
1212
1313error: invalid character in numeric character escape: Z
14- --> $DIR/byte-string-literals.rs:10 :10
14+ --> $DIR/byte-string-literals.rs:7 :10
1515 |
1616LL | b"\x0Z";
1717 | ^
1818
1919error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
20- --> $DIR/byte-string-literals.rs:11 :7
20+ --> $DIR/byte-string-literals.rs:8 :7
2121 |
2222LL | b"é";
2323 | ^
2424
2525error: unterminated double quote byte string
26- --> $DIR/byte-string-literals.rs:12 :7
26+ --> $DIR/byte-string-literals.rs:9 :7
2727 |
2828LL | b"a
2929 | _______^
You can’t perform that action at this time.
0 commit comments