Skip to content

Commit 93043ba

Browse files
committed
testsuite: Add #[allow(structural_records)] to pipes tests
These will require a snapshot.
1 parent dd38af2 commit 93043ba

File tree

7 files changed

+11
-0
lines changed

7 files changed

+11
-0
lines changed

src/test/run-pass/pipe-detect-term.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
// xfail-win32
1616

17+
#[legacy_records];
18+
1719
extern mod std;
1820
use std::timer::sleep;
1921
use std::uv;

src/test/run-pass/pipe-peek.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// option. This file may not be copied, modified, or distributed
1111
// except according to those terms.
1212

13+
#[legacy_records];
1314

1415
extern mod std;
1516
use std::timer::sleep;

src/test/run-pass/pipe-pingpong-bounded.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
// This was generated initially by the pipe compiler, but it's been
1919
// modified in hopefully straightforward ways.
20+
#[legacy_records];
21+
2022
mod pingpong {
2123
use core::pipes::*;
2224
use core::ptr;

src/test/run-pass/pipe-pingpong-proto.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
// An example to make sure the protocol parsing syntax extension works.
1414

15+
#[legacy_records];
16+
1517
use core::option;
1618

1719
proto! pingpong (

src/test/run-pass/pipe-presentation-examples.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// Code is easier to write in emacs, and it's good to be sure all the
1616
// code samples compile (or not) as they should.
1717

18+
#[legacy_records];
1819

1920
use double_buffer::client::*;
2021
use double_buffer::give_buffer;

src/test/run-pass/pipe-select.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// xfail-pretty
1414
// xfail-win32
1515

16+
#[legacy_records];
17+
1618
extern mod std;
1719
use std::timer::sleep;
1820
use std::uv;

src/test/run-pass/pipe-sleep.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// option. This file may not be copied, modified, or distributed
1111
// except according to those terms.
1212

13+
#[legacy_records];
1314

1415
extern mod std;
1516
use std::timer::sleep;

0 commit comments

Comments
 (0)