mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
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
|
||||
|
||||
#[legacy_records];
|
||||
|
||||
extern mod std;
|
||||
use std::timer::sleep;
|
||||
use std::uv;
|
||||
|
@ -10,6 +10,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#[legacy_records];
|
||||
|
||||
extern mod std;
|
||||
use std::timer::sleep;
|
||||
|
@ -17,6 +17,8 @@
|
||||
|
||||
// This was generated initially by the pipe compiler, but it's been
|
||||
// modified in hopefully straightforward ways.
|
||||
#[legacy_records];
|
||||
|
||||
mod pingpong {
|
||||
use core::pipes::*;
|
||||
use core::ptr;
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
// An example to make sure the protocol parsing syntax extension works.
|
||||
|
||||
#[legacy_records];
|
||||
|
||||
use core::option;
|
||||
|
||||
proto! pingpong (
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Code is easier to write in emacs, and it's good to be sure all the
|
||||
// code samples compile (or not) as they should.
|
||||
|
||||
#[legacy_records];
|
||||
|
||||
use double_buffer::client::*;
|
||||
use double_buffer::give_buffer;
|
||||
|
@ -13,6 +13,8 @@
|
||||
// xfail-pretty
|
||||
// xfail-win32
|
||||
|
||||
#[legacy_records];
|
||||
|
||||
extern mod std;
|
||||
use std::timer::sleep;
|
||||
use std::uv;
|
||||
|
@ -10,6 +10,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#[legacy_records];
|
||||
|
||||
extern mod std;
|
||||
use std::timer::sleep;
|
||||
|
Loading…
Reference in New Issue
Block a user