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/parse/parser.rs | |
| parent | c2f49c46ae0b07aae8ae558d5a5e71ed85aeff23 (diff) | |
| download | rust-439afaa329751b3dfd6735862cd2645705598909.tar.gz rust-439afaa329751b3dfd6735862cd2645705598909.zip | |
Change remaining "iface" occurrences to "trait"; deprecate "iface"
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 594ec844bd3..17370628db9 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2702,6 +2702,7 @@ class parser { } else if self.eat_keyword(~"enum") { self.parse_item_enum(vis) } else if self.eat_keyword(~"iface") { + self.warn(~"`iface` is deprecated; use `trait`"); self.parse_item_trait() } else if self.eat_keyword(~"trait") { self.parse_item_trait() |
