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-sgx no processes
// ignore-musl FIXME #31506
// ignore-pretty
// ignore-fuchsia no exception handler registered for segfault
// compile-flags: -C lto
// no-prefer-dynamic

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
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() {}
| ^^^------^^^^^
@ -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)
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();
| ------------ `method` from trait

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
error: type `foo::S` is private
--> $DIR/fields.rs:15:17
--> $DIR/fields.rs:13:17
|
LL | let s = S { x: 0 };
| ^^^^^^^^^^ 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)
error: type `foo::S` is private
--> $DIR/fields.rs:16:17
--> $DIR/fields.rs:14:17
|
LL | let _ = s.x;
| ^ 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)
error: type `T` is private
--> $DIR/fields.rs:18:17
--> $DIR/fields.rs:16:17
|
LL | let t = T(0);
| ^^^^ 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)
error: type `T` is private
--> $DIR/fields.rs:19:17
--> $DIR/fields.rs:17:17
|
LL | let _ = t.0;
| ^ private type

View File

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

View File

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

View File

@ -1,5 +1,5 @@
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();
| ^ private type

View File

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

View File

@ -1,5 +1,5 @@
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);
| ^^^^^^^^^^^^^^^^^^^^^ private type

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,6 @@
// run-pass
#![allow(stable_features)]
// ignore-pretty issue #37195
pub mod m1 {
pub mod m2 {
@ -14,9 +13,9 @@ pub mod m1 {
macro_rules! indirect_line { () => ( line!() ) }
pub fn main() {
assert_eq!(line!(), 17);
assert_eq!(line!(), 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_eq!(stringify!((2*3) + 5).to_string(), "(2 * 3) + 5".to_string());
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
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
// ignore-pretty issue #37195
mod mod_dir_implicit_aux;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,4 @@
// run-pass
// ignore-pretty
// aux-build:span-api-tests.rs
// aux-build:span-test-macros.rs
// 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:-Cforce-frame-pointers=yes
// compile-flags:-Cstrip=none
// ignore-pretty issue #37195
// ignore-emscripten spawning processes is not supported
// ignore-sgx no processes
// ignore-fuchsia Backtrace not symbolized, trace different line alignment

View File

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