Huon Wilson
f8734df515
rustc: remove use of @[].
2014-02-02 02:59:03 +11:00
Patrick Walton
e9ce855beb
librustc: De-@str
liveness
2014-02-02 01:44:49 +11: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
Chris Wong
988e4f0a1c
Uppercase numeric constants
...
The following are renamed:
* `min_value` => `MIN`
* `max_value` => `MAX`
* `bits` => `BITS`
* `bytes` => `BYTES`
Fixes #10010 .
2014-01-25 21:38:25 +13:00
Simon Sapin
05ae134ace
[std::str] Rename from_utf8_owned_opt() to from_utf8_owned(), drop the old from_utf8_owned() behavior
2014-01-21 15:48:48 -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
bors
9bf85a250c
auto merge of #11598 : alexcrichton/rust/io-export, r=brson
...
* Reexport io::mem and io::buffered structs directly under io, make mem/buffered
private modules
* Remove with_mem_writer
* Remove DEFAULT_CAPACITY and use DEFAULT_BUF_SIZE (in io::buffered)
cc #11119
2014-01-17 12:02:07 -08:00
Alex Crichton
295b46fc08
Tweak the interface of std::io
...
* Reexport io::mem and io::buffered structs directly under io, make mem/buffered
private modules
* Remove with_mem_writer
* Remove DEFAULT_CAPACITY and use DEFAULT_BUF_SIZE (in io::buffered)
2014-01-17 10:00:47 -08:00
bors
9075025c7b
auto merge of #11485 : eddyb/rust/sweep-old-rust, r=nikomatsakis
2014-01-14 12:32:11 -08:00
Florian Hahn
c74c854adc
Better error message for semicolon on the last line of a function
...
closes #8005
2014-01-13 19:45:34 +01:00
Eduard Burtescu
509fc92a9b
Removed remnants of @mut
and ~mut
from comments and the type system.
2014-01-12 02:26:04 +02:00
Brian Anderson
55f81bce83
rustc: Fix style of Lint enum
2014-01-09 18:46:23 -08: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
Eduard Burtescu
3119d18e55
Disowned the Visitor.
2014-01-06 14:00:46 +02:00
Brian Anderson
3b1862a82f
Don't allow newtype structs to be dereferenced. #6246
2014-01-04 14:44:12 -08:00
klutzy
eaae0ac68a
rustc: Fix a borrow failure in .ln_str()
...
`ln_str` caused ICE if `RUST_LOG=rustc::middle::liveness` is given
due to borrow failure.
2013-12-29 02:47:12 +09:00
Patrick Walton
cc0584731a
librustc: De-@mut
the def map.
...
This is the last `@mut` in `librustc` that does not depend on libsyntax.
2013-12-26 15:54:37 -08:00
Patrick Walton
e4815b6c3f
librustc: De-@mut
the users
list in liveness
2013-12-26 15:54:37 -08:00
Patrick Walton
eaf69494a5
librustc: De-@mut
the loop scope in liveness
2013-12-26 15:54:36 -08:00
Patrick Walton
1a6c1e5d32
librustc: De-@mut
Liveness::successors
2013-12-26 15:54:36 -08:00
Patrick Walton
be67aceaeb
librustc: De-@mut
IrMaps
2013-12-26 15:54:31 -08:00
Patrick Walton
810177c787
librustc: De-@mut
IrMaps::lnks
2013-12-26 15:54:31 -08:00
Patrick Walton
bef2353e1b
librustc: De-@mut
IrMaps::var_kinds
2013-12-26 15:54:31 -08:00
Patrick Walton
bd08889d68
librustc: De-@mut
IrMaps::capture_info_map
2013-12-26 15:54:31 -08:00
Patrick Walton
30b8f8b913
librustc: De-@mut
IrMaps::variable_map
2013-12-26 15:54:30 -08:00
Patrick Walton
e5c399a83c
librustc: De-@mut
IrMaps::live_node_map
2013-12-26 15:54:30 -08:00
Patrick Walton
01ee2fb224
librustc: De-@mut
IrMaps::num_vars
2013-12-26 15:54:30 -08:00
Patrick Walton
4e9b8a742d
librustc: De-@mut
IrMaps::num_live_nodes
2013-12-26 15:54:30 -08:00
Patrick Walton
7b71ca3ef7
librustc: De-@mut
break_ln
and cont_ln
in liveness
2013-12-26 15:54:28 -08:00
Patrick Walton
dd745b388d
librustc: De-@mut
the capture map
2013-12-26 13:01:28 -08:00
Seo Sanghyeon
5499b45323
Remove fk_anon
2013-12-12 23:01:47 +09:00
Kiet Tran
1755408d1a
Remove dead codes
2013-12-08 02:55:28 -05:00
Eduard Burtescu
a9c4b18b18
Box Block, fn_decl, variant and Ty in the AST, as they were inflating critical enum sizes.
2013-12-01 00:00:39 +02:00
Alex Crichton
ab387a6838
Register new snapshots
2013-11-28 20:27:56 -08:00
Patrick Walton
8ceb374ab7
librustc: Remove non-procedure uses of do
from librustc, librustdoc,
...
and librustpkg.
2013-11-26 08:25:00 -08:00
Patrick Walton
7e3f20133a
librustc: Change most uses of &fn()
to ||
.
2013-11-19 13:22:03 -08:00
Alex Crichton
49ee49296b
Move std::rt::io to std::io
2013-11-11 20:44:07 -08:00
Patrick Walton
7e77bf1769
librustc: Implement the proc
type as sugar for ~once fn
and proc
...
notation for closures, and disable the feature gate for `once fn` if
used with the `~` sigil.
2013-10-29 10:34:17 -07:00
Luqman Aden
12308db3d2
libsyntax/librustc: Allow mut qualifier in patterns.
2013-10-25 01:21:07 -04:00
Alex Crichton
61ed2cfb55
Remove even more of std::io
...
Big fish fried here:
extra::json
most of the compiler
extra::io_util removed
extra::fileinput removed
Fish left to fry
extra::ebml
2013-10-24 14:21:57 -07:00
Luqman Aden
af163579ed
libsyntax/librustc: Allow specifying mut on ~self.
2013-10-22 21:22:19 -04:00
Luqman Aden
5754848f8c
libsyntax/librustc: Allow specifying mut on by-value self.
2013-10-22 21:21:21 -04:00
Alex Crichton
daf5f5a4d1
Drop the '2' suffix from logging macros
...
Who doesn't like a massive renaming?
2013-10-22 08:09:56 -07:00
Eduard Burtescu
7ab0b0cd41
Handle inline asm outputs as write-only in liveness, borrowck and trans.
2013-10-18 08:02:56 +03:00
Daniel Micay
6a90e80b62
option: rewrite the API to use composition
2013-10-09 09:17:29 -04:00
Alex Crichton
1b80558be3
rustc: Remove usage of fmt!
2013-09-30 23:21:19 -07:00
Felix S. Klock II
1ce1aae282
Fold ErrorCheckVisitor into Liveness. Removed some @allocation.
2013-09-25 11:01:09 +02:00