Skip to content

Commit f502576

Browse files
committed
Fix @str removal tests.
1 parent c594e67 commit f502576

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/librustc/driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ mod test {
12131213
let sessopts = build_session_options(~"rustc", matches, @diagnostic::DefaultEmitter);
12141214
let sess = build_session(sessopts, None, @diagnostic::DefaultEmitter);
12151215
let cfg = build_configuration(sess);
1216-
let mut test_items = cfg.iter().filter(|m| "test" == m.name());
1216+
let mut test_items = cfg.iter().filter(|m| m.name().equiv(&("test")));
12171217
assert!(test_items.next().is_some());
12181218
assert!(test_items.next().is_none());
12191219
}

src/libstd/gc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ pub struct Gc<T> {
3535
}
3636

3737
#[cfg(test)]
38-
#[no_send]
3938
pub struct Gc<T> {
4039
priv ptr: @T,
4140
priv marker: marker::NoSend,

src/libsyntax/parse/token.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,6 @@ pub fn get_ident_interner() -> @IdentInterner {
549549
/// destroyed. In particular, they must not access string contents. This can
550550
/// be fixed in the future by just leaking all strings until task death
551551
/// somehow.
552-
#[no_send]
553552
#[deriving(Clone, Eq, IterBytes, Ord, TotalEq, TotalOrd)]
554553
pub struct InternedString {
555554
priv string: RcStr,

0 commit comments

Comments
 (0)