| Age | Commit message (Collapse) | Author | Lines |
|
Does what it says on the tin.
The next commit will remove support for this syntax.
|
|
Remove disr_val from ast::variant_ and always use ty::variant_info
when the value is needed. Move what was done during parsing into
other passes, primary typeck.rs. This move also correctly type checks
the disr. value expression; thus, fixing rustc --pretty=typed when
disr. values are used.
|
|
Rather, it is now a struct where properties like opts are accessed
directly, and the error-reporting methods are part of a static impl
(with the same name as the type).
|
|
I consider the added complexity not justified at this point, and it
interacts badly with the patches for issue #828. Feel free to discuss.
|
|
|
|
Part of #1215
|
|
This removes the need for the unary minus hacks, and allows some other
neat things like matching on 1 >> 4.
Issue #954
|
|
|
|
|
|
trans_const_expr. Working towards issue #570.
|
|
rejects unimplemented const expressions, but will be needed later.
|