diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 13:11:03 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 22:24:34 -0700 |
| commit | eba3367404e9ca6abf84199b5c2dbe51ce6cdbde (patch) | |
| tree | 51f5c04a529cdfc03cd4fded6f66c699a8162940 /src/libsyntax/parse/obsolete.rs | |
| parent | fa70709e07983fb62d1fddadac0987c79e836d23 (diff) | |
| download | rust-eba3367404e9ca6abf84199b5c2dbe51ce6cdbde.tar.gz rust-eba3367404e9ca6abf84199b5c2dbe51ce6cdbde.zip | |
libsyntax: Introduce the new `assert!` macro; make `assert` no longer a keyword
Diffstat (limited to 'src/libsyntax/parse/obsolete.rs')
| -rw-r--r-- | src/libsyntax/parse/obsolete.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsyntax/parse/obsolete.rs b/src/libsyntax/parse/obsolete.rs index 173ae31f948..a987ae948a4 100644 --- a/src/libsyntax/parse/obsolete.rs +++ b/src/libsyntax/parse/obsolete.rs @@ -51,7 +51,6 @@ pub enum ObsoleteSyntax { ObsoleteTraitImplVisibility, ObsoleteRecordType, ObsoleteRecordPattern, - ObsoleteAssertion, ObsoletePostFnTySigil, ObsoleteBareFnType, ObsoleteNewtypeEnum, @@ -165,10 +164,6 @@ pub impl Parser { "structural record pattern", "use a structure instead" ), - ObsoleteAssertion => ( - "assertion", - "use `fail_unless!()` instead" - ), ObsoletePostFnTySigil => ( "fn sigil in postfix position", "Rather than `fn@`, `fn~`, or `fn&`, \ |
