librustc: Remove @str
from the language
This commit is contained in:
parent
449a7a817f
commit
c594e675eb
13 changed files with 36 additions and 19 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue