Luqman Aden
727a565f1e
librustc: Move inline asm stuff to different mod.
2013-03-27 15:41:58 -07:00
Patrick Walton
58338dd3d0
librustc: Fix ICE with cross-crate extern statics. rs=bugfix
2013-03-27 15:41:43 -07:00
bors
4de9a94407
auto merge of #5567 : jbclements/rust/release-note-macro-escape, r=thestinger
2013-03-27 15:30:58 -07:00
bors
30b1957cd4
auto merge of #5569 : thestinger/rust/map, r=catamorphism
2013-03-27 14:31:03 -07:00
Daniel Micay
d2b267bcb5
add a TotalEq trait
2013-03-27 17:29:10 -04:00
Patrick Walton
70b56fa5e9
librustc: Allow expr_repeat to be used with any vstore
2013-03-27 14:13:07 -07:00
Patrick Walton
e5dda811a9
librustc: Allow expr_repeat to be used with any vstore
2013-03-27 13:53:03 -07:00
bors
995425badb
auto merge of #5558 : nikomatsakis/rust/issue-4920-autoref-index-operator, r=nikomatsakis
...
Per discussion on IRC.
r? @pcwalton
2013-03-27 13:27:58 -07:00
Niko Matsakis
2a74fda316
Fix pretty-printer test failure by carrying the bound lifetime names through
...
the types. Initially I thought it would be necessary to thread this data
through not only the AST but the types themselves, but then I remembered that
the pretty printer only cares about the AST. Regardless, I have elected to
leave the changes to the types intact since they will eventually be needed. I
left a few FIXMEs where it didn't seem worth finishing up since the code wasn't
crucial yet.
2013-03-27 11:35:04 -07:00
Graydon Hoare
83aa70d7e3
another pub fn for check-fast
2013-03-27 11:30:38 -07:00
Daniel Micay
91cb6687a8
cmp: rm TotalOrd impl code duplication
2013-03-27 14:17:16 -04:00
Niko Matsakis
772293a251
Fix pretty-printer test failure by carrying the bound lifetime names through
...
the types. Initially I thought it would be necessary to thread this data
through not only the AST but the types themselves, but then I remembered that
the pretty printer only cares about the AST. Regardless, I have elected to
leave the changes to the types intact since they will eventually be needed. I
left a few FIXMEs where it didn't seem worth finishing up since the code wasn't
crucial yet.
2013-03-27 13:48:24 -04:00
John Clements
48cb50af13
fixes stated grammar for block comments, by adding Kleene '+' in two places.
...
Closes #1588
2013-03-27 10:17:37 -07:00
Tim Chevalier
fad05591e5
testsuite: more pub fn main
2013-03-27 10:09:03 -07:00
Tim Chevalier
e23fad0e6a
Oh, cool, I xfailed the wrong test, neat
2013-03-27 10:09:02 -07:00
Tim Chevalier
e01cf3caf5
testsuite: Add various test cases
...
Some are xfailed, some not, some existing ones get un-xfailed.
2013-03-27 10:09:02 -07:00
Niko Matsakis
069529bc5c
Autoref the argument to the index operator ( #4920 )
2013-03-27 13:04:03 -04:00
Huon Wilson
ab5346d119
librustc: Limit the typo suggestions to reasonable suggests.
...
Impose a limit so that the typo suggester only shows reasonable
suggestions (i.e. don't suggest `args` when the error is `foobar`).
2013-03-28 02:19:40 +11:00
Patrick Walton
b93393e907
test: xfail-pretty one of the run-pass tests. rs=burningtree
2013-03-27 07:35:49 -07:00
Erick Tryzelaar
c317d3f6fa
std: add some better failure msgs to json
2013-03-27 07:04:17 -07:00
Erick Tryzelaar
83e831bc22
syntax: Remove deprecated expr_vstore_fixed
2013-03-27 07:04:16 -07:00
Erick Tryzelaar
7a199d41a9
syntax: fix pretty printing __log stmts
2013-03-27 07:04:15 -07:00
Erick Tryzelaar
2e0b363a7f
syntax: Remove dead code from the parser
2013-03-27 07:04:15 -07:00
Erick Tryzelaar
b26ae289d0
syntax: Fix parsing global generics ( Closes #5572 )
2013-03-27 07:04:14 -07:00
Erick Tryzelaar
4e9a63ff91
std: add tests for decoding json enums
2013-03-27 07:04:14 -07:00
Erick Tryzelaar
4d6dcefcbb
std: Decode::read_enum_variant should pass in the variant names
...
Because the json::Decoder uses the string variant name, we need a
way to correlate the string to the enum index. This passes in a
static &[&str] to read_enum_variant, which allows the json::Decoder
to know which branch it's trying to process.
2013-03-27 07:04:13 -07:00
Erick Tryzelaar
478e4498b7
std: add option type directly to serialize::{En,De}code
2013-03-27 07:04:12 -07:00
Erick Tryzelaar
4d995e66a2
std: change default json enum encoder to use strings or a flat vec
2013-03-27 07:04:12 -07:00
Erick Tryzelaar
b10b8c3ee4
std: Add tests for json decoding options
2013-03-27 07:04:11 -07:00
Erick Tryzelaar
c9188c8301
std: fix json PrettyEncoder and add tests
2013-03-27 07:04:10 -07:00
Erick Tryzelaar
6cf99fa54a
std: change fail_unless to assert_eq in json.rs
2013-03-27 07:04:09 -07:00
Erick Tryzelaar
89fc95885f
std: serializing Options should use the right case
2013-03-27 07:02:59 -07:00
Erick Tryzelaar
b290863be6
std: clean json test imports
2013-03-27 07:01:50 -07:00
Erick Tryzelaar
bd77e9433f
syntax: pass some values around by reference
2013-03-27 07:01:45 -07:00
Erick Tryzelaar
2f1ab3a7fa
syntax: Add new values that can be used with the quasiquoter
2013-03-27 06:49:39 -07:00
Niko Matsakis
2c17ff7dbc
Simplify and remove unnecessary use of ast_map
2013-03-27 07:10:04 -04:00
Niko Matsakis
aa67deff33
remove sty_by_ref, though traces still remain due to dtors
2013-03-27 07:09:16 -04:00
Daniel Micay
1c6272a267
base64: add docstring
2013-03-27 03:42:03 -04:00
Daniel Micay
9c1bbc586c
ops: add a docstring
2013-03-27 03:42:03 -04:00
Daniel Micay
4d3b0a1529
hashmap: improve docstring
2013-03-27 03:42:00 -04:00
Patrick Walton
2888563510
test: Fix botched error message in compile-fail test
2013-03-26 23:31:56 -07:00
Patrick Walton
b07b36bbf3
test: Fix tests
2013-03-26 22:45:22 -07:00
Young-il Choi
8fe7fd6dd6
configure: cleanup - parsing supported target triples
2013-03-27 13:35:20 +09:00
Patrick Walton
f41a510631
librustc: Remove obsolete syntax
2013-03-26 21:30:18 -07:00
Patrick Walton
0a4d0f37ca
librustc: Enforce that extern mod
directives come first, then use
directives, then items.
...
Resolve them in this order as well.
2013-03-26 21:30:17 -07:00
Patrick Walton
8b56a8380b
librustc: Modify all code to use new lifetime binder syntax
2013-03-26 21:30:17 -07:00
Patrick Walton
15688eaf28
librustc: Require explicit lifetime binders
2013-03-26 21:29:35 -07:00
Patrick Walton
3b2fcf9f59
librustc: Fix bug with newtype structs containing dtors
2013-03-26 21:29:35 -07:00
Patrick Walton
a376f46862
librustc: Stop parsing [T * N]
.
2013-03-26 21:29:35 -07:00
Patrick Walton
142dbd65da
librustc: Remove all uses of the old [T * N]
fixed-length vector syntax
2013-03-26 21:29:34 -07:00