Skip to content

Commit c2895a5

Browse files
committed
Remove unnecessary tidy ignore directives
1 parent 921a431 commit c2895a5

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

src/test/rustdoc-ui/intra-link-span-ice-55723.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
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

src/test/rustdoc-ui/intra-link-span-ice-55723.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error: `[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
|
44
LL | /// (arr[i])
55
| ^ cannot be resolved, ignoring
66
|
77
note: 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
|
1010
LL | #![deny(intra_doc_link_resolution_failure)]
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/test/ui/parser/byte-string-literals.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// compile-flags: -Z continue-parse-after-error
22

3-
4-
// ignore-tidy-tab
5-
63
static FOO: &'static [u8] = b"\f"; //~ ERROR unknown byte escape
74

85
pub fn main() {

src/test/ui/parser/byte-string-literals.stderr

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
error: unknown byte escape: f
2-
--> $DIR/byte-string-literals.rs:6:32
2+
--> $DIR/byte-string-literals.rs:3:32
33
|
44
LL | static FOO: &'static [u8] = b"\f";
55
| ^ unknown byte escape
66

77
error: unknown byte escape: f
8-
--> $DIR/byte-string-literals.rs:9:8
8+
--> $DIR/byte-string-literals.rs:6:8
99
|
1010
LL | b"\f";
1111
| ^ unknown byte escape
1212

1313
error: invalid character in numeric character escape: Z
14-
--> $DIR/byte-string-literals.rs:10:10
14+
--> $DIR/byte-string-literals.rs:7:10
1515
|
1616
LL | b"\x0Z";
1717
| ^
1818

1919
error: 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
|
2222
LL | b"é";
2323
| ^
2424

2525
error: unterminated double quote byte string
26-
--> $DIR/byte-string-literals.rs:12:7
26+
--> $DIR/byte-string-literals.rs:9:7
2727
|
2828
LL | b"a
2929
| _______^

0 commit comments

Comments
 (0)