Skip to content

Commit 64af509

Browse files
committed
remove invalid ignore-pretty
1 parent 8dd6c19 commit 64af509

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+12
-63
lines changed

tests/ui/abi/stack-probes-lto.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// ignore-emscripten no processes
1010
// ignore-sgx no processes
1111
// ignore-musl FIXME #31506
12-
// ignore-pretty
1312
// ignore-fuchsia no exception handler registered for segfault
1413
// compile-flags: -C lto
1514
// no-prefer-dynamic

tests/ui/binding/optional_comma_in_match_arm.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
#![allow(unused_unsafe)]
3-
// ignore-pretty issue #37199
43
#![allow(while_true)]
54

65
fn main() {

tests/ui/borrowck/borrowck-pat-enum.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
#![allow(dead_code)]
3-
// ignore-pretty issue #37199
43

54
fn match_ref(v: Option<isize>) -> isize {
65
match v {

tests/ui/command/command-exec.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#![allow(stable_features)]
44
// ignore-windows - this is a unix-specific test
5-
// ignore-pretty issue #37199
65
// ignore-emscripten no processes
76
// ignore-sgx no processes
87
// ignore-fuchsia no execvp syscall provided

tests/ui/hygiene/arguments.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-pretty pretty-printing is unhygienic
2-
31
#![feature(decl_macro)]
42

53
macro m($t:ty, $e:expr) {

tests/ui/hygiene/arguments.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0412]: cannot find type `S` in this scope
2-
--> $DIR/arguments.rs:16:8
2+
--> $DIR/arguments.rs:14:8
33
|
44
LL | m!(S, S);
55
| ^ not found in this scope

tests/ui/hygiene/assoc_item_ctxt.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-pretty pretty-printing is unhygienic
2-
31
#![feature(decl_macro)]
42
#![allow(unused)]
53

tests/ui/hygiene/assoc_item_ctxt.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0407]: method `method` is not a member of trait `Tr`
2-
--> $DIR/assoc_item_ctxt.rs:35:13
2+
--> $DIR/assoc_item_ctxt.rs:33:13
33
|
44
LL | fn method() {}
55
| ^^^------^^^^^
@@ -13,7 +13,7 @@ LL | mac_trait_impl!();
1313
= note: this error originates in the macro `mac_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
1414

1515
error[E0046]: not all trait items implemented, missing: `method`
16-
--> $DIR/assoc_item_ctxt.rs:34:9
16+
--> $DIR/assoc_item_ctxt.rs:32:9
1717
|
1818
LL | fn method();
1919
| ------------ `method` from trait

tests/ui/hygiene/assoc_ty_bindings.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// check-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
#![feature(decl_macro, associated_type_defaults)]
54

tests/ui/hygiene/auxiliary/legacy_interaction.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-pretty pretty-printing is unhygienic
2-
31
#[macro_export]
42
macro_rules! m {
53
() => {

tests/ui/hygiene/fields.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-pretty pretty-printing is unhygienic
2-
31
#![feature(decl_macro)]
42

53
mod foo {

tests/ui/hygiene/fields.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: type `foo::S` is private
2-
--> $DIR/fields.rs:15:17
2+
--> $DIR/fields.rs:13:17
33
|
44
LL | let s = S { x: 0 };
55
| ^^^^^^^^^^ private type
@@ -10,7 +10,7 @@ LL | let s = foo::m!(S, x);
1010
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
1111

1212
error: type `foo::S` is private
13-
--> $DIR/fields.rs:16:17
13+
--> $DIR/fields.rs:14:17
1414
|
1515
LL | let _ = s.x;
1616
| ^ private type
@@ -21,7 +21,7 @@ LL | let s = foo::m!(S, x);
2121
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
2222

2323
error: type `T` is private
24-
--> $DIR/fields.rs:18:17
24+
--> $DIR/fields.rs:16:17
2525
|
2626
LL | let t = T(0);
2727
| ^^^^ private type
@@ -32,7 +32,7 @@ LL | let s = foo::m!(S, x);
3232
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
3333

3434
error: type `T` is private
35-
--> $DIR/fields.rs:19:17
35+
--> $DIR/fields.rs:17:17
3636
|
3737
LL | let _ = t.0;
3838
| ^ private type

tests/ui/hygiene/generic_params.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Ensure that generic parameters always have modern hygiene.
22

33
// check-pass
4-
// ignore-pretty pretty-printing is unhygienic
54

65
#![feature(decl_macro, rustc_attrs)]
76

tests/ui/hygiene/impl_items.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-pretty pretty-printing is unhygienic
2-
31
#![feature(decl_macro)]
42

53
mod foo {

tests/ui/hygiene/impl_items.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: type `for<'a> fn(&'a foo::S) {foo::S::f}` is private
2-
--> $DIR/impl_items.rs:12:23
2+
--> $DIR/impl_items.rs:10:23
33
|
44
LL | let _: () = S.f();
55
| ^ private type

tests/ui/hygiene/intercrate.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-pretty pretty-printing is unhygienic
2-
31
// aux-build:intercrate.rs
42

53
#![feature(decl_macro)]

tests/ui/hygiene/intercrate.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: type `fn() -> u32 {foo::bar::f}` is private
2-
--> $DIR/intercrate.rs:10:16
2+
--> $DIR/intercrate.rs:8:16
33
|
44
LL | assert_eq!(intercrate::foo::m!(), 1);
55
| ^^^^^^^^^^^^^^^^^^^^^ private type

tests/ui/hygiene/issue-47311.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// check-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
#![feature(decl_macro)]
54
#![allow(unused)]

tests/ui/hygiene/issue-47312.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// check-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
#![feature(decl_macro)]
54
#![allow(unused)]

tests/ui/hygiene/items.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// check-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
#![feature(decl_macro)]
54

tests/ui/hygiene/legacy_interaction.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// check-pass
22
#![allow(dead_code)]
3-
// ignore-pretty pretty-printing is unhygienic
43

54
// aux-build:legacy_interaction.rs
65

tests/ui/hygiene/lexical.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// check-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
#![feature(decl_macro)]
54

tests/ui/hygiene/specialization.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
#![feature(decl_macro)]
54

tests/ui/hygiene/trait_items-2.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// check-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
#![feature(decl_macro)]
54

tests/ui/hygiene/wrap_unhygienic_example.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// check-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
// aux-build:my_crate.rs
54
// aux-build:unhygienic_example.rs

tests/ui/hygiene/xcrate.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty pretty-printing is unhygienic
32

43
// aux-build:xcrate.rs
54

tests/ui/imports/issue-26873-multifile/issue-26873-multifile.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![allow(unused_imports)]
44
#![allow(non_snake_case)]
55

6-
// ignore-pretty issue #37195
76

87
#[path = "issue-26873-multifile/mod.rs"]
98
mod multifile;

tests/ui/issues/issue-11709.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
#![allow(dead_code)]
3-
// ignore-pretty issue #37199
43

54
// Don't panic on blocks without results
65
// There are several tests in this run-pass that raised

tests/ui/issues/issue-28839.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37199
32

43
pub struct Foo;
54

tests/ui/issues/issue-38190.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
// aux-build:issue-38190.rs
3-
// ignore-pretty issue #37195
43

54
#[macro_use]
65
extern crate issue_38190;

tests/ui/issues/issue-9129.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#![allow(dead_code)]
33
#![allow(non_camel_case_types)]
44
#![allow(non_snake_case)]
5-
// ignore-pretty unreported
65

76
pub trait bomb { fn boom(&self, _: Ident); }
87
pub struct S;

tests/ui/lexer/lexer-crlf-line-endings-string-literal-doc-comment.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// N.B., this file needs CRLF line endings. The .gitattributes file in
77
// this directory should enforce it.
88

9-
// ignore-pretty issue #37195
109

1110
/// Doc comment that ends in CRLF
1211
pub fn foo() {}

tests/ui/macros/issue-40469.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
#![allow(dead_code)]
54

tests/ui/macros/macro-comma-support-rpass.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// implementations for some macro_rules! macros as an implementation
99
// detail.
1010

11-
// ignore-pretty issue #37195
1211

1312
// compile-flags: --test -C debug_assertions=yes
1413
// revisions: std core

tests/ui/macros/macro-include-items.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// run-pass
22
#![allow(non_camel_case_types)]
33

4-
// ignore-pretty issue #37195
54

65
fn bar() {}
76

tests/ui/macros/syntax-extension-source-utils.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// run-pass
22
#![allow(stable_features)]
33

4-
// ignore-pretty issue #37195
54

65
pub mod m1 {
76
pub mod m2 {
@@ -14,9 +13,9 @@ pub mod m1 {
1413
macro_rules! indirect_line { () => ( line!() ) }
1514

1615
pub fn main() {
17-
assert_eq!(line!(), 17);
16+
assert_eq!(line!(), 16);
1817
assert_eq!(column!(), 16);
19-
assert_eq!(indirect_line!(), 19);
18+
assert_eq!(indirect_line!(), 18);
2019
assert!((file!().ends_with("syntax-extension-source-utils.rs")));
2120
assert_eq!(stringify!((2*3) + 5).to_string(), "(2 * 3) + 5".to_string());
2221
assert!(include!("syntax-extension-source-utils-files/includeme.\
@@ -33,5 +32,5 @@ pub fn main() {
3332
// The Windows tests are wrapped in an extra module for some reason
3433
assert!((m1::m2::where_am_i().ends_with("m1::m2")));
3534

36-
assert_eq!((36, "(2 * 3) + 5"), (line!(), stringify!((2*3) + 5)));
35+
assert_eq!((35, "(2 * 3) + 5"), (line!(), stringify!((2*3) + 5)));
3736
}

tests/ui/modules/mod_dir_implicit.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
mod mod_dir_implicit_aux;
54

tests/ui/modules/mod_dir_path.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
#![allow(unused_macros)]
3-
// ignore-pretty issue #37195
43

54
mod mod_dir_simple {
65
#[path = "test.rs"]

tests/ui/modules/mod_dir_path2.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
#[path = "mod_dir_simple"]
54
mod pancakes {

tests/ui/modules/mod_dir_path3.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
#[path = "mod_dir_simple"]
54
mod pancakes {

tests/ui/modules/mod_dir_path_multi.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
#[path = "mod_dir_simple"]
54
mod biscuits {

tests/ui/modules/mod_dir_recursive.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
// Testing that the parser for each file tracks its modules
54
// and paths independently. The load_another_mod module should

tests/ui/modules/mod_dir_simple.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
mod mod_dir_simple {
54
pub mod test;

tests/ui/modules/mod_file.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
// Testing that a plain .rs file can load modules from other source files
54

tests/ui/modules/mod_file_with_path_attr.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty issue #37195
32

43
// Testing that a plain .rs file can load modules from other source files
54

tests/ui/non_modrs_mods/non_modrs_mods.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
//
3-
// ignore-pretty issue #37195
43
pub mod modrs_mod;
54
pub mod foors_mod;
65
#[path = "some_crazy_attr_mod_dir/arbitrary_name.rs"]

tests/ui/parser/issues/issue-48508.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// issue-48508-aux.rs
88

99
// compile-flags:-g
10-
// ignore-pretty issue #37195
1110
// ignore-asmjs wasm2js does not support source maps yet
1211

1312
#![allow(uncommon_codepoints)]

tests/ui/proc-macro/span-api-tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty
32
// aux-build:span-api-tests.rs
43
// aux-build:span-test-macros.rs
54
// compile-flags: -Ztranslate-remapped-path-to-local-path=yes

tests/ui/runtime/backtrace-debuginfo.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// compile-flags:-g -Copt-level=0 -Cllvm-args=-enable-tail-merge=0
1010
// compile-flags:-Cforce-frame-pointers=yes
1111
// compile-flags:-Cstrip=none
12-
// ignore-pretty issue #37195
1312
// ignore-emscripten spawning processes is not supported
1413
// ignore-sgx no processes
1514
// ignore-fuchsia Backtrace not symbolized, trace different line alignment

tests/ui/traits/dyn-trait.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// run-pass
2-
// ignore-pretty `dyn ::foo` parses differently in the current edition
32

43
use std::fmt::Display;
54

0 commit comments

Comments
 (0)