remove the explicit error for old rental versions
This commit is contained in:
parent
d1a11b670b
commit
195b849ea7
13 changed files with 6 additions and 226 deletions
|
|
@ -1,12 +0,0 @@
|
|||
//@ proc-macro: test-macros.rs
|
||||
//@ compile-flags: -Z span-debug
|
||||
//@ check-pass
|
||||
|
||||
#![no_std] // Don't load unnecessary hygiene information from std
|
||||
extern crate std;
|
||||
|
||||
#[macro_use] extern crate test_macros;
|
||||
|
||||
include!("pretty-print-hack/rental-0.5.6/src/lib.rs");
|
||||
|
||||
fn main() {}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
PRINT-DERIVE INPUT (DISPLAY): enum ProceduralMasqueradeDummyType { Input }
|
||||
PRINT-DERIVE INPUT (DEBUG): TokenStream [
|
||||
Ident {
|
||||
ident: "enum",
|
||||
span: $DIR/pretty-print-hack/rental-0.5.6/src/lib.rs:4:1: 4:5 (#0),
|
||||
},
|
||||
Ident {
|
||||
ident: "ProceduralMasqueradeDummyType",
|
||||
span: $DIR/pretty-print-hack/rental-0.5.6/src/lib.rs:4:6: 4:35 (#0),
|
||||
},
|
||||
Group {
|
||||
delimiter: Brace,
|
||||
stream: TokenStream [
|
||||
Ident {
|
||||
ident: "Input",
|
||||
span: $DIR/pretty-print-hack/rental-0.5.6/src/lib.rs:13:5: 13:10 (#0),
|
||||
},
|
||||
],
|
||||
span: $DIR/pretty-print-hack/rental-0.5.6/src/lib.rs:4:36: 14:2 (#0),
|
||||
},
|
||||
]
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
error: using an old version of `rental`
|
||||
|
|
||||
= note: older versions of the `rental` crate no longer compile; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
|
||||
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
error: using an old version of `rental`
|
||||
|
|
||||
= note: older versions of the `rental` crate no longer compile; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
|
||||
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
//@ proc-macro: test-macros.rs
|
||||
//@ compile-flags: -Z span-debug
|
||||
//@ revisions: local remapped
|
||||
//@ [remapped] remap-src-base
|
||||
|
||||
#![no_std] // Don't load unnecessary hygiene information from std
|
||||
extern crate std;
|
||||
|
||||
#[macro_use] extern crate test_macros;
|
||||
|
||||
mod first {
|
||||
include!("pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs");
|
||||
}
|
||||
|
||||
mod second {
|
||||
include!("pretty-print-hack/rental-0.5.5/src/lib.rs");
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
||||
//~? ERROR using an old version of `rental`
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
//@ ignore-auxiliary (used by `../../../pretty-print-hack-show.rs`)
|
||||
|
||||
#[derive(Print)]
|
||||
enum ProceduralMasqueradeDummyType {
|
||||
//~^ ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
Input
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
//@ ignore-auxiliary (used by `../../../pretty-print-hack-show.rs`)
|
||||
|
||||
#[derive(Print)]
|
||||
enum ProceduralMasqueradeDummyType {
|
||||
//~^ ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
Input
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
//@ ignore-auxiliary (used by `../../../pretty-print-hack/hide.rs`)
|
||||
|
||||
#[derive(Print)]
|
||||
enum ProceduralMasqueradeDummyType {
|
||||
//~^ ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
//~| ERROR using
|
||||
//~| WARN this was previously
|
||||
Input
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue