Alex Crichton
cdc266e47d
Fix deriving(IterBytes) to use the new for-loop protocol
2013-05-10 02:46:19 -04:00
Patrick Walton
db4573a776
librustc: Remove mutable fields from the language.
...
They're still parsed though, to get through bootstrapping.
2013-05-08 17:04:00 -07:00
Huon Wilson
1cf2108a2b
libsyntax: convert #[deriving(IterBytes)] to generic deriving
2013-05-07 01:33:54 +10:00
Daniel Micay
f792baba42
only use #[no_core] in libcore
2013-04-27 21:34:24 -04:00
Alex Crichton
3c7aea3a6a
syntax: de-mode and prepare for de-modeing rustc
2013-04-19 23:21:52 -04:00
Huon Wilson
3698ea7e54
libsyntax: abstract most of the deriving boilerplate into a simpler(r) interface.
...
Pulls out many of the common patterns from the Eq and Clone deriving code (and
invents a few of its own), so that deriving instances are very easy to write
for a certain class of traits. (Basically, those which don't have parameters
and where all methods only take arguments of type `&Self` and return either
`Self` or types with no parameters.)
2013-04-12 17:10:26 +10:00
Erick Tryzelaar
f50a8e2833
syntax: Simplify deriving to handle classes that take generics, like Encodable
2013-04-10 16:32:09 -07:00
Erick Tryzelaar
4464e44750
syntax: update a deriving error message to use the new syntax
2013-04-10 16:08:22 -07:00
Alex Crichton
be57d745d2
Removing unused imports
2013-03-28 23:56:46 -04:00
Patrick Walton
0a002d79b4
librustc: Remove common fields and nested enums from the language
2013-03-28 11:30:01 -07:00
Niko Matsakis
aa67deff33
remove sty_by_ref, though traces still remain due to dtors
2013-03-27 07:09:16 -04:00
Niko Matsakis
e11d13f3de
Rip out old code that still structured method calls as a
...
expr_call(expr_field(...)) rather than an expr_method_call.
There is probably more such code in trans that should be removed.
2013-03-26 15:16:58 -04:00
Andrew Paseltiner
999e7ef9a9
syntax: make old #[deriving_foo] attribute obsolete
2013-03-22 07:15:13 -04:00
Andrew Paseltiner
3042321b3b
syntax: split deriving module into submodules for each trait
2013-03-19 18:44:41 -04:00