mirror of https://github.com/rust-lang/rust.git
testsuite: Add #[allow(structural_records)] to pipes tests
These will require a snapshot.
This commit is contained in:
parent
dd38af240b
commit
93043baab4
|
@ -14,6 +14,8 @@
|
||||||
|
|
||||||
// xfail-win32
|
// xfail-win32
|
||||||
|
|
||||||
|
#[legacy_records];
|
||||||
|
|
||||||
extern mod std;
|
extern mod std;
|
||||||
use std::timer::sleep;
|
use std::timer::sleep;
|
||||||
use std::uv;
|
use std::uv;
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
#[legacy_records];
|
||||||
|
|
||||||
extern mod std;
|
extern mod std;
|
||||||
use std::timer::sleep;
|
use std::timer::sleep;
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
// This was generated initially by the pipe compiler, but it's been
|
// This was generated initially by the pipe compiler, but it's been
|
||||||
// modified in hopefully straightforward ways.
|
// modified in hopefully straightforward ways.
|
||||||
|
#[legacy_records];
|
||||||
|
|
||||||
mod pingpong {
|
mod pingpong {
|
||||||
use core::pipes::*;
|
use core::pipes::*;
|
||||||
use core::ptr;
|
use core::ptr;
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
// An example to make sure the protocol parsing syntax extension works.
|
// An example to make sure the protocol parsing syntax extension works.
|
||||||
|
|
||||||
|
#[legacy_records];
|
||||||
|
|
||||||
use core::option;
|
use core::option;
|
||||||
|
|
||||||
proto! pingpong (
|
proto! pingpong (
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
// Code is easier to write in emacs, and it's good to be sure all the
|
// Code is easier to write in emacs, and it's good to be sure all the
|
||||||
// code samples compile (or not) as they should.
|
// code samples compile (or not) as they should.
|
||||||
|
|
||||||
|
#[legacy_records];
|
||||||
|
|
||||||
use double_buffer::client::*;
|
use double_buffer::client::*;
|
||||||
use double_buffer::give_buffer;
|
use double_buffer::give_buffer;
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
// xfail-pretty
|
// xfail-pretty
|
||||||
// xfail-win32
|
// xfail-win32
|
||||||
|
|
||||||
|
#[legacy_records];
|
||||||
|
|
||||||
extern mod std;
|
extern mod std;
|
||||||
use std::timer::sleep;
|
use std::timer::sleep;
|
||||||
use std::uv;
|
use std::uv;
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
#[legacy_records];
|
||||||
|
|
||||||
extern mod std;
|
extern mod std;
|
||||||
use std::timer::sleep;
|
use std::timer::sleep;
|
||||||
|
|
Loading…
Reference in New Issue