diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-25 23:19:20 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-28 19:41:56 -0800 |
| commit | 93043baab425ae0e2bbecead585ef8d1374ff8fa (patch) | |
| tree | b1dcd9288e2aba87a845e401a6e0f0cfcb0c935d /src | |
| parent | dd38af240bbce5ca42ae5442730849e4a29698eb (diff) | |
| download | rust-93043baab425ae0e2bbecead585ef8d1374ff8fa.tar.gz rust-93043baab425ae0e2bbecead585ef8d1374ff8fa.zip | |
testsuite: Add #[allow(structural_records)] to pipes tests
These will require a snapshot.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/pipe-detect-term.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/pipe-peek.rs | 1 | ||||
| -rw-r--r-- | src/test/run-pass/pipe-pingpong-bounded.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/pipe-pingpong-proto.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/pipe-presentation-examples.rs | 1 | ||||
| -rw-r--r-- | src/test/run-pass/pipe-select.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/pipe-sleep.rs | 1 |
7 files changed, 11 insertions, 0 deletions
diff --git a/src/test/run-pass/pipe-detect-term.rs b/src/test/run-pass/pipe-detect-term.rs index 10b13d8757f..99e4acde147 100644 --- a/src/test/run-pass/pipe-detect-term.rs +++ b/src/test/run-pass/pipe-detect-term.rs @@ -14,6 +14,8 @@ // xfail-win32 +#[legacy_records]; + extern mod std; use std::timer::sleep; use std::uv; diff --git a/src/test/run-pass/pipe-peek.rs b/src/test/run-pass/pipe-peek.rs index d7d0ccfc404..5bf85a80f7c 100644 --- a/src/test/run-pass/pipe-peek.rs +++ b/src/test/run-pass/pipe-peek.rs @@ -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; diff --git a/src/test/run-pass/pipe-pingpong-bounded.rs b/src/test/run-pass/pipe-pingpong-bounded.rs index f44c54d38e4..d251fbf8f76 100644 --- a/src/test/run-pass/pipe-pingpong-bounded.rs +++ b/src/test/run-pass/pipe-pingpong-bounded.rs @@ -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; diff --git a/src/test/run-pass/pipe-pingpong-proto.rs b/src/test/run-pass/pipe-pingpong-proto.rs index 7fb77cba3bd..840acd5b287 100644 --- a/src/test/run-pass/pipe-pingpong-proto.rs +++ b/src/test/run-pass/pipe-pingpong-proto.rs @@ -12,6 +12,8 @@ // An example to make sure the protocol parsing syntax extension works. +#[legacy_records]; + use core::option; proto! pingpong ( diff --git a/src/test/run-pass/pipe-presentation-examples.rs b/src/test/run-pass/pipe-presentation-examples.rs index 0fe845dd1f9..8bfac5d0545 100644 --- a/src/test/run-pass/pipe-presentation-examples.rs +++ b/src/test/run-pass/pipe-presentation-examples.rs @@ -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; diff --git a/src/test/run-pass/pipe-select.rs b/src/test/run-pass/pipe-select.rs index e138f2562aa..97480fbbb05 100644 --- a/src/test/run-pass/pipe-select.rs +++ b/src/test/run-pass/pipe-select.rs @@ -13,6 +13,8 @@ // xfail-pretty // xfail-win32 +#[legacy_records]; + extern mod std; use std::timer::sleep; use std::uv; diff --git a/src/test/run-pass/pipe-sleep.rs b/src/test/run-pass/pipe-sleep.rs index ae7e4e7fb0c..6d6c6cf4a08 100644 --- a/src/test/run-pass/pipe-sleep.rs +++ b/src/test/run-pass/pipe-sleep.rs @@ -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; |
