1
Fork 0

remove invalid ignore-pretty

This commit is contained in:
Pietro Albini 2023-03-08 10:13:02 +01:00
parent 8dd6c19379
commit 64af509377
No known key found for this signature in database
GPG key ID: CD76B35F7734769E
50 changed files with 12 additions and 63 deletions

View file

@ -9,7 +9,6 @@
// ignore-emscripten no processes // ignore-emscripten no processes
// ignore-sgx no processes // ignore-sgx no processes
// ignore-musl FIXME #31506 // ignore-musl FIXME #31506
// ignore-pretty
// ignore-fuchsia no exception handler registered for segfault // ignore-fuchsia no exception handler registered for segfault
// compile-flags: -C lto // compile-flags: -C lto
// no-prefer-dynamic // no-prefer-dynamic

View file

@ -1,6 +1,5 @@
// run-pass // run-pass
#![allow(unused_unsafe)] #![allow(unused_unsafe)]
// ignore-pretty issue #37199
#![allow(while_true)] #![allow(while_true)]
fn main() { fn main() {

View file

@ -1,6 +1,5 @@
// run-pass // run-pass
#![allow(dead_code)] #![allow(dead_code)]
// ignore-pretty issue #37199
fn match_ref(v: Option<isize>) -> isize { fn match_ref(v: Option<isize>) -> isize {
match v { match v {

View file

@ -2,7 +2,6 @@
#![allow(stable_features)] #![allow(stable_features)]
// ignore-windows - this is a unix-specific test // ignore-windows - this is a unix-specific test
// ignore-pretty issue #37199
// ignore-emscripten no processes // ignore-emscripten no processes
// ignore-sgx no processes // ignore-sgx no processes
// ignore-fuchsia no execvp syscall provided // ignore-fuchsia no execvp syscall provided

View file

@ -1,5 +1,3 @@
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]
macro m($t:ty, $e:expr) { macro m($t:ty, $e:expr) {

View file

@ -1,5 +1,5 @@
error[E0412]: cannot find type `S` in this scope error[E0412]: cannot find type `S` in this scope
--> $DIR/arguments.rs:16:8 --> $DIR/arguments.rs:14:8
| |
LL | m!(S, S); LL | m!(S, S);
| ^ not found in this scope | ^ not found in this scope

View file

@ -1,5 +1,3 @@
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]
#![allow(unused)] #![allow(unused)]

View file

@ -1,5 +1,5 @@
error[E0407]: method `method` is not a member of trait `Tr` error[E0407]: method `method` is not a member of trait `Tr`
--> $DIR/assoc_item_ctxt.rs:35:13 --> $DIR/assoc_item_ctxt.rs:33:13
| |
LL | fn method() {} LL | fn method() {}
| ^^^------^^^^^ | ^^^------^^^^^
@ -13,7 +13,7 @@ LL | mac_trait_impl!();
= note: this error originates in the macro `mac_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) = note: this error originates in the macro `mac_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0046]: not all trait items implemented, missing: `method` error[E0046]: not all trait items implemented, missing: `method`
--> $DIR/assoc_item_ctxt.rs:34:9 --> $DIR/assoc_item_ctxt.rs:32:9
| |
LL | fn method(); LL | fn method();
| ------------ `method` from trait | ------------ `method` from trait

View file

@ -1,5 +1,4 @@
// check-pass // check-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro, associated_type_defaults)] #![feature(decl_macro, associated_type_defaults)]

View file

@ -1,5 +1,3 @@
// ignore-pretty pretty-printing is unhygienic
#[macro_export] #[macro_export]
macro_rules! m { macro_rules! m {
() => { () => {

View file

@ -1,5 +1,3 @@
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]
mod foo { mod foo {

View file

@ -1,5 +1,5 @@
error: type `foo::S` is private error: type `foo::S` is private
--> $DIR/fields.rs:15:17 --> $DIR/fields.rs:13:17
| |
LL | let s = S { x: 0 }; LL | let s = S { x: 0 };
| ^^^^^^^^^^ private type | ^^^^^^^^^^ private type
@ -10,7 +10,7 @@ LL | let s = foo::m!(S, x);
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info) = note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
error: type `foo::S` is private error: type `foo::S` is private
--> $DIR/fields.rs:16:17 --> $DIR/fields.rs:14:17
| |
LL | let _ = s.x; LL | let _ = s.x;
| ^ private type | ^ private type
@ -21,7 +21,7 @@ LL | let s = foo::m!(S, x);
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info) = note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
error: type `T` is private error: type `T` is private
--> $DIR/fields.rs:18:17 --> $DIR/fields.rs:16:17
| |
LL | let t = T(0); LL | let t = T(0);
| ^^^^ private type | ^^^^ private type
@ -32,7 +32,7 @@ LL | let s = foo::m!(S, x);
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info) = note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
error: type `T` is private error: type `T` is private
--> $DIR/fields.rs:19:17 --> $DIR/fields.rs:17:17
| |
LL | let _ = t.0; LL | let _ = t.0;
| ^ private type | ^ private type

View file

@ -1,7 +1,6 @@
// Ensure that generic parameters always have modern hygiene. // Ensure that generic parameters always have modern hygiene.
// check-pass // check-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro, rustc_attrs)] #![feature(decl_macro, rustc_attrs)]

View file

@ -1,5 +1,3 @@
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]
mod foo { mod foo {

View file

@ -1,5 +1,5 @@
error: type `for<'a> fn(&'a foo::S) {foo::S::f}` is private error: type `for<'a> fn(&'a foo::S) {foo::S::f}` is private
--> $DIR/impl_items.rs:12:23 --> $DIR/impl_items.rs:10:23
| |
LL | let _: () = S.f(); LL | let _: () = S.f();
| ^ private type | ^ private type

View file

@ -1,5 +1,3 @@
// ignore-pretty pretty-printing is unhygienic
// aux-build:intercrate.rs // aux-build:intercrate.rs
#![feature(decl_macro)] #![feature(decl_macro)]

View file

@ -1,5 +1,5 @@
error: type `fn() -> u32 {foo::bar::f}` is private error: type `fn() -> u32 {foo::bar::f}` is private
--> $DIR/intercrate.rs:10:16 --> $DIR/intercrate.rs:8:16
| |
LL | assert_eq!(intercrate::foo::m!(), 1); LL | assert_eq!(intercrate::foo::m!(), 1);
| ^^^^^^^^^^^^^^^^^^^^^ private type | ^^^^^^^^^^^^^^^^^^^^^ private type

View file

@ -1,5 +1,4 @@
// check-pass // check-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]
#![allow(unused)] #![allow(unused)]

View file

@ -1,5 +1,4 @@
// check-pass // check-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]
#![allow(unused)] #![allow(unused)]

View file

@ -1,5 +1,4 @@
// check-pass // check-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]

View file

@ -1,6 +1,5 @@
// check-pass // check-pass
#![allow(dead_code)] #![allow(dead_code)]
// ignore-pretty pretty-printing is unhygienic
// aux-build:legacy_interaction.rs // aux-build:legacy_interaction.rs

View file

@ -1,5 +1,4 @@
// check-pass // check-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]

View file

@ -1,5 +1,4 @@
// check-pass // check-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)] #![feature(decl_macro)]

View file

@ -1,5 +1,4 @@
// check-pass // check-pass
// ignore-pretty pretty-printing is unhygienic
// aux-build:my_crate.rs // aux-build:my_crate.rs
// aux-build:unhygienic_example.rs // aux-build:unhygienic_example.rs

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty pretty-printing is unhygienic
// aux-build:xcrate.rs // aux-build:xcrate.rs

View file

@ -3,7 +3,6 @@
#![allow(unused_imports)] #![allow(unused_imports)]
#![allow(non_snake_case)] #![allow(non_snake_case)]
// ignore-pretty issue #37195
#[path = "issue-26873-multifile/mod.rs"] #[path = "issue-26873-multifile/mod.rs"]
mod multifile; mod multifile;

View file

@ -1,6 +1,5 @@
// run-pass // run-pass
#![allow(dead_code)] #![allow(dead_code)]
// ignore-pretty issue #37199
// Don't panic on blocks without results // Don't panic on blocks without results
// There are several tests in this run-pass that raised // There are several tests in this run-pass that raised

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37199
pub struct Foo; pub struct Foo;

View file

@ -1,6 +1,5 @@
// run-pass // run-pass
// aux-build:issue-38190.rs // aux-build:issue-38190.rs
// ignore-pretty issue #37195
#[macro_use] #[macro_use]
extern crate issue_38190; extern crate issue_38190;

View file

@ -2,7 +2,6 @@
#![allow(dead_code)] #![allow(dead_code)]
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
#![allow(non_snake_case)] #![allow(non_snake_case)]
// ignore-pretty unreported
pub trait bomb { fn boom(&self, _: Ident); } pub trait bomb { fn boom(&self, _: Ident); }
pub struct S; pub struct S;

View file

@ -6,7 +6,6 @@
// N.B., this file needs CRLF line endings. The .gitattributes file in // N.B., this file needs CRLF line endings. The .gitattributes file in
// this directory should enforce it. // this directory should enforce it.
// ignore-pretty issue #37195
/// Doc comment that ends in CRLF /// Doc comment that ends in CRLF
pub fn foo() {} pub fn foo() {}

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
#![allow(dead_code)] #![allow(dead_code)]

View file

@ -8,7 +8,6 @@
// implementations for some macro_rules! macros as an implementation // implementations for some macro_rules! macros as an implementation
// detail. // detail.
// ignore-pretty issue #37195
// compile-flags: --test -C debug_assertions=yes // compile-flags: --test -C debug_assertions=yes
// revisions: std core // revisions: std core

View file

@ -1,7 +1,6 @@
// run-pass // run-pass
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
// ignore-pretty issue #37195
fn bar() {} fn bar() {}

View file

@ -1,7 +1,6 @@
// run-pass // run-pass
#![allow(stable_features)] #![allow(stable_features)]
// ignore-pretty issue #37195
pub mod m1 { pub mod m1 {
pub mod m2 { pub mod m2 {
@ -14,9 +13,9 @@ pub mod m1 {
macro_rules! indirect_line { () => ( line!() ) } macro_rules! indirect_line { () => ( line!() ) }
pub fn main() { pub fn main() {
assert_eq!(line!(), 17); assert_eq!(line!(), 16);
assert_eq!(column!(), 16); assert_eq!(column!(), 16);
assert_eq!(indirect_line!(), 19); assert_eq!(indirect_line!(), 18);
assert!((file!().ends_with("syntax-extension-source-utils.rs"))); assert!((file!().ends_with("syntax-extension-source-utils.rs")));
assert_eq!(stringify!((2*3) + 5).to_string(), "(2 * 3) + 5".to_string()); assert_eq!(stringify!((2*3) + 5).to_string(), "(2 * 3) + 5".to_string());
assert!(include!("syntax-extension-source-utils-files/includeme.\ assert!(include!("syntax-extension-source-utils-files/includeme.\
@ -33,5 +32,5 @@ pub fn main() {
// The Windows tests are wrapped in an extra module for some reason // The Windows tests are wrapped in an extra module for some reason
assert!((m1::m2::where_am_i().ends_with("m1::m2"))); assert!((m1::m2::where_am_i().ends_with("m1::m2")));
assert_eq!((36, "(2 * 3) + 5"), (line!(), stringify!((2*3) + 5))); assert_eq!((35, "(2 * 3) + 5"), (line!(), stringify!((2*3) + 5)));
} }

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
mod mod_dir_implicit_aux; mod mod_dir_implicit_aux;

View file

@ -1,6 +1,5 @@
// run-pass // run-pass
#![allow(unused_macros)] #![allow(unused_macros)]
// ignore-pretty issue #37195
mod mod_dir_simple { mod mod_dir_simple {
#[path = "test.rs"] #[path = "test.rs"]

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
#[path = "mod_dir_simple"] #[path = "mod_dir_simple"]
mod pancakes { mod pancakes {

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
#[path = "mod_dir_simple"] #[path = "mod_dir_simple"]
mod pancakes { mod pancakes {

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
#[path = "mod_dir_simple"] #[path = "mod_dir_simple"]
mod biscuits { mod biscuits {

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
// Testing that the parser for each file tracks its modules // Testing that the parser for each file tracks its modules
// and paths independently. The load_another_mod module should // and paths independently. The load_another_mod module should

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
mod mod_dir_simple { mod mod_dir_simple {
pub mod test; pub mod test;

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
// Testing that a plain .rs file can load modules from other source files // Testing that a plain .rs file can load modules from other source files

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty issue #37195
// Testing that a plain .rs file can load modules from other source files // Testing that a plain .rs file can load modules from other source files

View file

@ -1,6 +1,5 @@
// run-pass // run-pass
// //
// ignore-pretty issue #37195
pub mod modrs_mod; pub mod modrs_mod;
pub mod foors_mod; pub mod foors_mod;
#[path = "some_crazy_attr_mod_dir/arbitrary_name.rs"] #[path = "some_crazy_attr_mod_dir/arbitrary_name.rs"]

View file

@ -7,7 +7,6 @@
// issue-48508-aux.rs // issue-48508-aux.rs
// compile-flags:-g // compile-flags:-g
// ignore-pretty issue #37195
// ignore-asmjs wasm2js does not support source maps yet // ignore-asmjs wasm2js does not support source maps yet
#![allow(uncommon_codepoints)] #![allow(uncommon_codepoints)]

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty
// aux-build:span-api-tests.rs // aux-build:span-api-tests.rs
// aux-build:span-test-macros.rs // aux-build:span-test-macros.rs
// compile-flags: -Ztranslate-remapped-path-to-local-path=yes // compile-flags: -Ztranslate-remapped-path-to-local-path=yes

View file

@ -9,7 +9,6 @@
// compile-flags:-g -Copt-level=0 -Cllvm-args=-enable-tail-merge=0 // compile-flags:-g -Copt-level=0 -Cllvm-args=-enable-tail-merge=0
// compile-flags:-Cforce-frame-pointers=yes // compile-flags:-Cforce-frame-pointers=yes
// compile-flags:-Cstrip=none // compile-flags:-Cstrip=none
// ignore-pretty issue #37195
// ignore-emscripten spawning processes is not supported // ignore-emscripten spawning processes is not supported
// ignore-sgx no processes // ignore-sgx no processes
// ignore-fuchsia Backtrace not symbolized, trace different line alignment // ignore-fuchsia Backtrace not symbolized, trace different line alignment

View file

@ -1,5 +1,4 @@
// run-pass // run-pass
// ignore-pretty `dyn ::foo` parses differently in the current edition
use std::fmt::Display; use std::fmt::Display;