Skip to content

Commit

Permalink
Remove unnecessary tidy ignore directives
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Apr 22, 2019
1 parent 921a431 commit c2895a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/test/rustdoc-ui/intra-link-span-ice-55723.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// ignore-tidy-end-whitespace

#![deny(intra_doc_link_resolution_failure)]

// An error in calculating spans while reporting intra-doc link resolution errors caused rustdoc to
Expand Down
4 changes: 2 additions & 2 deletions src/test/rustdoc-ui/intra-link-span-ice-55723.stderr
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
error: `[i]` cannot be resolved, ignoring it...
--> $DIR/intra-link-span-ice-55723.rs:11:10
--> $DIR/intra-link-span-ice-55723.rs:9:10
|
LL | /// (arr[i])
| ^ cannot be resolved, ignoring
|
note: lint level defined here
--> $DIR/intra-link-span-ice-55723.rs:3:9
--> $DIR/intra-link-span-ice-55723.rs:1:9
|
LL | #![deny(intra_doc_link_resolution_failure)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
3 changes: 0 additions & 3 deletions src/test/ui/parser/byte-string-literals.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
// compile-flags: -Z continue-parse-after-error


// ignore-tidy-tab

static FOO: &'static [u8] = b"\f"; //~ ERROR unknown byte escape

pub fn main() {
Expand Down
10 changes: 5 additions & 5 deletions src/test/ui/parser/byte-string-literals.stderr
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
error: unknown byte escape: f
--> $DIR/byte-string-literals.rs:6:32
--> $DIR/byte-string-literals.rs:3:32
|
LL | static FOO: &'static [u8] = b"\f";
| ^ unknown byte escape

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

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

error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
--> $DIR/byte-string-literals.rs:11:7
--> $DIR/byte-string-literals.rs:8:7
|
LL | b"é";
| ^

error: unterminated double quote byte string
--> $DIR/byte-string-literals.rs:12:7
--> $DIR/byte-string-literals.rs:9:7
|
LL | b"a
| _______^
Expand Down

0 comments on commit c2895a5

Please sign in to comment.