diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-01-31 18:25:08 -0800 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 01:44:50 +1100 |
| commit | c594e675eb3db25cd018d58d8fe06ef6ea2c90de (patch) | |
| tree | 4520d9b24ded21fcff4dfe3712de2665d3ed779f /src/libsyntax/ext | |
| parent | 449a7a817ff58288084b49665d5186674255c949 (diff) | |
| download | rust-c594e675eb3db25cd018d58d8fe06ef6ea2c90de.tar.gz rust-c594e675eb3db25cd018d58d8fe06ef6ea2c90de.zip | |
librustc: Remove `@str` from the language
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index f7419e77ff5..d8d98b27793 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1224,7 +1224,7 @@ mod test { fn run_renaming_test(t: &RenamingTest, test_idx: uint) { let invalid_name = token::special_idents::invalid.name; let (teststr, bound_connections, bound_ident_check) = match *t { - (ref str,ref conns, bic) => (str.to_managed(), conns.clone(), bic) + (ref str,ref conns, bic) => (str.to_owned(), conns.clone(), bic) }; let cr = expand_crate_str(teststr.to_owned()); // find the bindings: @@ -1304,7 +1304,7 @@ foo_module!() let cxbinds : ~[&ast::Ident] = bindings.iter().filter(|b| { - let string = token::get_ident(b); + let string = token::get_ident(b.name); "xx" == string.get() }).collect(); let cxbind = match cxbinds { |
