Remove unnecessary tidy ignore directives

This commit is contained in:
varkor 2019-04-22 20:56:27 +01:00
parent 7f7d15dcc9
commit 5392f44a92
4 changed files with 7 additions and 12 deletions

View file

@ -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

View file

@ -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)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View file

@ -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() {

View file

@ -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
| _______^