Alex Crichton
4d6836f418
Fix privacy fallout from previous change
2014-01-26 11:03:13 -08:00
Seo Sanghyeon
7689353918
Allow trailing commas in argument lists and tuple patterns
2014-01-23 01:55:53 +09:00
Simon Sapin
bada25e425
[std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior
2014-01-21 15:48:47 -08:00
Simon Sapin
aa66b91767
[std::vec] Rename .last_opt() to .last(), drop the old .last() behavior
2014-01-21 15:48:46 -08:00
Huon Wilson
39713b8295
Remove unnecessary parentheses.
2014-01-21 22:00:18 +11:00
bors
9434e7c6cb
auto merge of #11599 : sanxiyn/rust/accurate-span-3, r=luqmana
2014-01-16 09:01:49 -08:00
Seo Sanghyeon
1f5dc552d6
Correct span for ExprCall and ExprIndex
2014-01-16 22:45:01 +09:00
bors
9075025c7b
auto merge of #11485 : eddyb/rust/sweep-old-rust, r=nikomatsakis
2014-01-14 12:32:11 -08:00
Patrick Walton
119c6141f5
librustc: Remove @
pointer patterns from the language
2014-01-13 14:45:21 -08:00
Patrick Walton
ce358fca33
libsyntax: Make managed box @
patterns obsolete
2014-01-13 13:11:01 -08:00
Eduard Burtescu
509fc92a9b
Removed remnants of @mut
and ~mut
from comments and the type system.
2014-01-12 02:26:04 +02:00
Eduard Burtescu
5ad2a7825b
Removed obsolete 'e' prefix on ty_evec and ty_estr.
2014-01-11 16:40:23 +02:00
bors
ff3d5d4603
auto merge of #11055 : pcwalton/rust/placement-box, r=pcwalton
...
r? @nikomatsakis
2014-01-09 16:11:18 -08:00
Patrick Walton
e12711540a
librustc: Implement placement box
for GC and unique pointers.
2014-01-09 16:05:34 -08:00
Eduard Burtescu
6b221768cf
libsyntax: Renamed types, traits and enum variants to CamelCase.
2014-01-09 22:25:28 +02:00
Nick Cameron
01f42eed80
Start the span for a path in a view_path at the correct place (at the start of the path, rather than at the start of the view_path).
2014-01-09 20:12:23 +13:00
Marvin Löbel
90b394514d
Renamed Option::map_default and mutate_default to map_or and mutate_or_set
2014-01-08 00:53:40 +01:00
Patrick Walton
82a09b9a04
librustc: Remove @mut
support from the parser
2014-01-03 14:02:01 -08:00
Patrick Walton
4269f85d5b
libsyntax: De-@mut
name_idx
2014-01-03 14:01:58 -08:00
Patrick Walton
7e1b535eb1
libsyntax: De-@mut
StringReader
, TtReader
, and reader
2014-01-03 14:01:57 -08:00
Patrick Walton
3aa19a6b86
librustc: De-@mut
the parse session
2014-01-03 14:01:56 -08:00
Patrick Walton
f553701da6
libsyntax: De-@mut
ParseSess::included_mod_stack
2014-01-03 14:01:56 -08:00
Patrick Walton
f3eee0ebad
libsyntax: Fix test and merge fallout.
2014-01-02 14:42:06 -08:00
Patrick Walton
8b088d493c
libsyntax: Long line
2014-01-02 14:16:08 -08:00
Patrick Walton
460ea922f3
libsyntax: Remove increasingly inaccurate comment
2014-01-02 14:16:08 -08:00
Patrick Walton
f4118d5a4c
libsyntax: De-@mut
Parser::open_braces
2014-01-02 14:16:08 -08:00
Patrick Walton
a2f4877862
libsyntax: De-@mut
Parser::mod_path_stack
2014-01-02 14:16:08 -08:00
Patrick Walton
e0a5460e94
libsyntax: De-@mut
Parser::obsolete_set
2014-01-02 14:16:08 -08:00
Patrick Walton
4ee95cf96c
libsyntax: De-@mut
Parser::restriction
2014-01-02 14:16:08 -08:00
Patrick Walton
6992a5c77d
libsyntax: De-@mut
Parser::tokens_consumed
2014-01-02 14:16:08 -08:00
Patrick Walton
55a90f5928
libsyntax: De-@mut
Parser::buffer_start
and Parser::buffer_end
2014-01-02 14:16:07 -08:00
Patrick Walton
5c2c670d8f
libsyntax: De-@mut
Parser::buffer
2014-01-02 14:16:07 -08:00
Patrick Walton
044ad56824
libsyntax: De-@mut
Parser::last_token
2014-01-02 14:16:07 -08:00
Patrick Walton
cc3e6ecbfd
libsyntax: De-@mut
Parser::last_span
2014-01-02 14:16:07 -08:00
Patrick Walton
0c6cee55ea
libsyntax: De-@mut
Parser::span
2014-01-02 14:16:07 -08:00
Patrick Walton
758d854436
libsyntax: De-@mut
token
in the parser
2014-01-02 14:16:07 -08:00
Patrick Walton
425a140485
libsyntax: De-@mut
quote_depth
in the parser
2014-01-02 14:16:07 -08:00
Patrick Walton
f499d365ad
libsyntax: Make the parser mutable
2014-01-02 14:16:07 -08:00
Florian Hahn
f42a36cded
Remove extern mod foo (name="bar")
syntax, closes #9543
2014-01-01 23:36:57 +01:00
Alex Crichton
bfb760c697
Accept trailing commas in struct patterns
...
We decided in the 12/10/13 weekly meeting that trailing commas should be
accepted pretty much anywhere. They are currently not allowed in struct
patterns, and this commit adds support for that.
Closes #10392
2013-12-19 09:29:41 -08:00
bors
5cea7db2a5
auto merge of #10915 : alexcrichton/rust/fixes, r=ILyoan
...
Just a little cleanup.
2013-12-18 05:01:47 -08:00
Seo Sanghyeon
4a13364010
Remove obsolete mutability from ast::Ty
2013-12-17 03:01:40 +09:00
Alex Crichton
e2fa3c3af7
Forbid multiple imports in use statements
...
Closes #10911
2013-12-15 22:04:18 -08:00
Patrick Walton
775ccadd25
libsyntax: Implement the new box
syntax for unique pointers.
2013-12-15 10:41:15 -08:00
Erik Price
5731ca3078
Make 'self lifetime illegal.
...
Also remove all instances of 'self within the codebase.
This fixes #10889 .
2013-12-11 10:54:06 -08:00
bors
fff03a5fc7
auto merge of #10808 : kballard/rust/use-braces, r=alexcrichton
...
This fixes #10806 .
2013-12-11 01:06:21 -08:00
Kevin Ballard
bd36b06f55
Support imports of the form use {foo,bar}
...
This fixes #10806 .
2013-12-10 23:15:19 -08:00
bors
b8516de48f
auto merge of #10833 : sfackler/rust/mut-pat, r=brson
...
Previously, if you wanted to bind a field mutably or by ref, you had to
do something like Foo { x: ref mut x }. You can now just do
Foo { ref mut x }.
Closes #6137
2013-12-10 22:51:19 -08:00
Steven Fackler
8240faf73a
Allow ref and mut modifiers for short form field patterns
...
Previously, if you wanted to bind a field mutably or by ref, you had to
do something like Foo { x: ref mut x }. You can now just do
Foo { ref mut x }.
Closes #6137
2013-12-10 14:05:57 -08:00
Kiet Tran
1755408d1a
Remove dead codes
2013-12-08 02:55:28 -05:00