about summary refs log tree commit diff
path: root/src/libsyntax/parse/obsolete.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-11 23:51:30 +0000
committerbors <bors@rust-lang.org>2015-03-11 23:51:30 +0000
commit425297a93035bc89663ff5f83d229f6c19341ffb (patch)
tree5e2406b181498f03ec352b883f4be61862114f00 /src/libsyntax/parse/obsolete.rs
parentae4812b6136797bbe3daec7fb8c6673a87998b37 (diff)
parentdb726faf324c9258c3e93f15d41ada4f9d008f66 (diff)
downloadrust-425297a93035bc89663ff5f83d229f6c19341ffb.tar.gz
rust-425297a93035bc89663ff5f83d229f6c19341ffb.zip
Auto merge of #23156 - GuillaumeGomez:remove-proc, r=alexcrichton
This is the implementation of the [RFC 584](https://github.com/rust-lang/rfcs/pull/584).
Diffstat (limited to 'src/libsyntax/parse/obsolete.rs')
-rw-r--r--src/libsyntax/parse/obsolete.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libsyntax/parse/obsolete.rs b/src/libsyntax/parse/obsolete.rs
index e6bcb8ac745..ee646d95f35 100644
--- a/src/libsyntax/parse/obsolete.rs
+++ b/src/libsyntax/parse/obsolete.rs
@@ -24,8 +24,6 @@ use ptr::P;
 pub enum ObsoleteSyntax {
     Sized,
     ForSized,
-    ProcType,
-    ProcExpr,
     ClosureType,
     ClosureKind,
     EmptyIndex,
@@ -57,16 +55,6 @@ impl<'a> ParserObsoleteMethods for parser::Parser<'a> {
                  by default",
                 true,
             ),
-            ObsoleteSyntax::ProcType => (
-                "the `proc` type",
-                "use unboxed closures instead",
-                true,
-            ),
-            ObsoleteSyntax::ProcExpr => (
-                "`proc` expression",
-                "use a `move ||` expression instead",
-                true,
-            ),
             ObsoleteSyntax::ClosureType => (
                 "`|usize| -> bool` closure type",
                 "use unboxed closures instead, no type annotation needed",