diff options
| author | Lindsey Kuper <lindsey@rockstargirl.org> | 2012-07-31 10:27:51 -0700 |
|---|---|---|
| committer | Lindsey Kuper <lindsey@rockstargirl.org> | 2012-07-31 11:52:16 -0700 |
| commit | 439afaa329751b3dfd6735862cd2645705598909 (patch) | |
| tree | 4a3c51b47d6ee3c2e057677efdcf29c60e0d9d95 /src/libsyntax/ext | |
| parent | c2f49c46ae0b07aae8ae558d5a5e71ed85aeff23 (diff) | |
| download | rust-439afaa329751b3dfd6735862cd2645705598909.tar.gz rust-439afaa329751b3dfd6735862cd2645705598909.zip | |
Change remaining "iface" occurrences to "trait"; deprecate "iface"
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/base.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/ext/pipes/pipec.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/ext/qquote.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs index c6889eb9c1d..a51bc8a994c 100644 --- a/src/libsyntax/ext/base.rs +++ b/src/libsyntax/ext/base.rs @@ -114,7 +114,7 @@ fn syntax_expander_table() -> hashmap<~str, syntax_extension> { // One of these is made during expansion and incrementally updated as we go; // when a macro expansion occurs, the resulting nodes have the backtrace() // -> expn_info of their expansion context stored into their span. -iface ext_ctxt { +trait ext_ctxt { fn codemap() -> codemap; fn parse_sess() -> parse::parse_sess; fn cfg() -> ast::crate_cfg; diff --git a/src/libsyntax/ext/pipes/pipec.rs b/src/libsyntax/ext/pipes/pipec.rs index 32df5ed472a..00fd5d41f93 100644 --- a/src/libsyntax/ext/pipes/pipec.rs +++ b/src/libsyntax/ext/pipes/pipec.rs @@ -383,7 +383,7 @@ impl compile of gen_init for protocol { } } -iface to_source { +trait to_source { // Takes a thing and generates a string containing rust code for it. fn to_source() -> ~str; } diff --git a/src/libsyntax/ext/qquote.rs b/src/libsyntax/ext/qquote.rs index c027963cefa..9dcb4da14fa 100644 --- a/src/libsyntax/ext/qquote.rs +++ b/src/libsyntax/ext/qquote.rs @@ -22,7 +22,7 @@ enum fragment { from_ty(@ast::ty) } -iface qq_helper { +trait qq_helper { fn span() -> span; fn visit(aq_ctxt, vt<aq_ctxt>); fn extract_mac() -> option<ast::mac_>; |
