diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-03 22:54:18 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-03 22:54:18 -0500 |
| commit | 351409a62287c7993bc680d9dfcfa13cba9c9c0c (patch) | |
| tree | 47f99908d999aa612a4cd44932dcdc3b3a1a966a /src/libsyntax/parse/parser.rs | |
| parent | 8c5bb80d9b8373dd3c14cde0ba79f7d507839782 (diff) | |
| download | rust-351409a62287c7993bc680d9dfcfa13cba9c9c0c.tar.gz rust-351409a62287c7993bc680d9dfcfa13cba9c9c0c.zip | |
sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 95badb5df25..c0444363d4e 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -106,7 +106,7 @@ type ItemInfo = (Ident, Item_, Option<Vec<Attribute> >); /// How to parse a path. There are four different kinds of paths, all of which /// are parsed somewhat differently. -#[deriving(Copy, PartialEq)] +#[derive(Copy, PartialEq)] pub enum PathParsingMode { /// A path with no type parameters; e.g. `foo::bar::Baz` NoTypesAllowed, @@ -119,7 +119,7 @@ pub enum PathParsingMode { } /// How to parse a bound, whether to allow bound modifiers such as `?`. -#[deriving(Copy, PartialEq)] +#[derive(Copy, PartialEq)] pub enum BoundParsingMode { Bare, Modified, @@ -318,7 +318,7 @@ pub struct Parser<'a> { pub expected_tokens: Vec<TokenType>, } -#[deriving(PartialEq, Eq, Clone)] +#[derive(PartialEq, Eq, Clone)] pub enum TokenType { Token(token::Token), Operator, |
