Edward Wang
e9ff91e9be
Move replace and swap to std::mem. Get rid of std::util
...
Also move Void to std::any, move drop to std::mem and reexport in
prelude.
2014-02-11 05:21:35 +08:00
mr.Shu
ee3fa68fed
Fixed error starting with uppercase
...
Error messages cleaned in librustc/middle
Error messages cleaned in libsyntax
Error messages cleaned in libsyntax more agressively
Error messages cleaned in librustc more aggressively
Fixed affected tests
Fixed other failing tests
Last failing tests fixed
2014-02-08 20:59:38 +01:00
Kevin Ballard
1d17c2129e
Rewrite path::Display to reduce unnecessary allocation
2014-02-07 22:31:52 -08:00
Seo Sanghyeon
5109d1adce
Correct span for ExprFnBlock, ExprMethodCall, ExprParen
2014-02-07 19:52:12 +09:00
Eduard Burtescu
b2d30b72bf
Removed @self and @Trait.
2014-02-07 00:38:33 +02:00
Flavio Percoco
c6b1bce96f
Replace NonCopyable usage with NoPod
...
cc #10834
2014-02-04 00:15:27 +01:00
Huon Wilson
212507413a
rustc: update docs & propagate @[]/@str removal more.
...
Various functions can now be made specific to ~[], or just non-managed
vectors.
2014-02-02 02:59:04 +11:00
Huon Wilson
ec4b456b26
rustc: Remove the vstore handling of @str and @[].
2014-02-02 02:59:04 +11:00
Huon Wilson
e39cd20a43
syntax: remove the handling of @str and @[] from the parser completely.
2014-02-02 02:59:04 +11:00
Huon Wilson
aadcf29766
syntax: add an obsolete syntax warning for @[].
2014-02-02 02:59:04 +11:00
Patrick Walton
c594e675eb
librustc: Remove @str from the language
2014-02-02 01:44:50 +11:00
Patrick Walton
8b8419293c
libsyntax: Remove @str from the interner
2014-02-02 01:44:49 +11:00
Patrick Walton
e5dc347ccf
libsyntax: Remove the interner_get function and all uses
2014-02-02 01:44:49 +11:00
Patrick Walton
875c9ce30b
libsyntax: Remove many uses of token::ident_to_str
2014-02-02 01:44:49 +11:00
Patrick Walton
3c9e9d35ac
libsyntax: Remove ident_to_str from the parser, which was returning
...
`@str` values
2014-02-02 01:44:48 +11:00
Patrick Walton
f9af11d6cc
libsyntax: Remove all @str from the AST
2014-02-02 01:44:48 +11:00
Patrick Walton
b496d7bec2
libsyntax: Make float literals not use @str
2014-02-02 01:44:48 +11:00
Patrick Walton
8e52b85d5a
libsyntax: De-@str literal strings in the AST
2014-02-02 01:44:48 +11:00
Patrick Walton
70c5a0fbf7
libsyntax: Introduce an InternedString type to reduce @str in the
...
compiler and use it for attributes
2014-02-02 01:44:47 +11:00
Huon Wilson
a9f73b5e3d
Remove the obsolete handler for impl A;.
...
This is has been obsolete for quite a while now (including a release),
so removing the special handling seems fine. (The error message is quite
good still anyway.)
Fixes #9580 .
2014-01-31 21:43:09 -08:00
Eduard Burtescu
7d967741c3
Implement default type parameters in generics.
2014-01-30 19:28:41 +02:00
bors
e3dc5f5bcd
auto merge of #11911 : kballard/rust/empty-functional-update, r=pcwalton
...
Fixes #8972
2014-01-30 05:06:30 -08:00
Kevin Ballard
2258243ad8
Allow empty functional updating of structs
...
Fixes #8972
2014-01-29 10:44:27 -08:00
Scott Lawrence
a6867e259b
Removing support for the do syntax from libsyntax and librustc.
...
Fixes #10815 .
2014-01-29 09:15:42 -05:00
Eduard Burtescu
15ba0c310a
Demote self to an (almost) regular argument and remove the env param.
...
Fixes #10667 and closes #10259 .
2014-01-27 14:31:24 +02:00
bors
d3f70f5a7d
auto merge of #11817 : salemtalha/rust/master, r=brson
...
Fixes Issue #11815
2014-01-26 15:26:30 -08:00
Salem Talha
cc61fc0994
Removed all instances of XXX in preparation for relaxing of FIXME rule
2014-01-26 14:42:53 -05:00
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