Skip to content

Commit

Permalink
Fix @str removal tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
huonw committed Feb 1, 2014
1 parent c594e67 commit f502576
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/librustc/driver/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
1 change: 0 additions & 1 deletion src/libstd/gc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ pub struct Gc<T> {
}

#[cfg(test)]
#[no_send]
pub struct Gc<T> {
priv ptr: @T,
priv marker: marker::NoSend,
Expand Down
1 change: 0 additions & 1 deletion src/libsyntax/parse/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f502576

Please sign in to comment.