sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs
This commit is contained in:
parent
8c5bb80d9b
commit
351409a622
231 changed files with 1115 additions and 1115 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue