diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 02:19:55 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 02:58:57 +1100 |
| commit | f502576fc7a97825ee90b01c724b63a4bd4c85aa (patch) | |
| tree | 8254e9b0e359e8db17ef615911a6ca13d942dc8c | |
| parent | c594e675eb3db25cd018d58d8fe06ef6ea2c90de (diff) | |
| download | rust-f502576fc7a97825ee90b01c724b63a4bd4c85aa.tar.gz rust-f502576fc7a97825ee90b01c724b63a4bd4c85aa.zip | |
Fix `@str` removal tests.
| -rw-r--r-- | src/librustc/driver/driver.rs | 2 | ||||
| -rw-r--r-- | src/libstd/gc.rs | 1 | ||||
| -rw-r--r-- | src/libsyntax/parse/token.rs | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc/driver/driver.rs b/src/librustc/driver/driver.rs index 00b878a7bf7..b779c7e73b1 100644 --- a/src/librustc/driver/driver.rs +++ b/src/librustc/driver/driver.rs @@ -1213,7 +1213,7 @@ mod test { let sessopts = build_session_options(~"rustc", matches, @diagnostic::DefaultEmitter); let sess = build_session(sessopts, None, @diagnostic::DefaultEmitter); let cfg = build_configuration(sess); - let mut test_items = cfg.iter().filter(|m| "test" == m.name()); + let mut test_items = cfg.iter().filter(|m| m.name().equiv(&("test"))); assert!(test_items.next().is_some()); assert!(test_items.next().is_none()); } diff --git a/src/libstd/gc.rs b/src/libstd/gc.rs index 8ec07290a31..fa7c94ac994 100644 --- a/src/libstd/gc.rs +++ b/src/libstd/gc.rs @@ -35,7 +35,6 @@ pub struct Gc<T> { } #[cfg(test)] -#[no_send] pub struct Gc<T> { priv ptr: @T, priv marker: marker::NoSend, diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index fa53f021cdb..c0abbb9222b 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -549,7 +549,6 @@ pub fn get_ident_interner() -> @IdentInterner { /// destroyed. In particular, they must not access string contents. This can /// be fixed in the future by just leaking all strings until task death /// somehow. -#[no_send] #[deriving(Clone, Eq, IterBytes, Ord, TotalEq, TotalOrd)] pub struct InternedString { priv string: RcStr, |
