Commit Graph

25256 Commits

Author SHA1 Message Date
Patrick Walton 39f0270544 libsyntax: Remove an unnecessary `@mut io::Reader` 2014-01-03 14:01:59 -08:00
Patrick Walton 1dbeb5b2ac libsyntax: De-`@mut` `SCTable` 2014-01-03 14:01:59 -08:00
Patrick Walton b476d979d2 libsyntax: De-`@mut` `SCTable::rename_memo` 2014-01-03 14:01:59 -08:00
Patrick Walton 4d6dde7f49 libsyntax: De-`@mut` `SCTable::mark_memo` 2014-01-03 14:01:59 -08:00
Patrick Walton be17a1b08c libsyntax: De-`@mut` `SCTable::table` 2014-01-03 14:01:59 -08:00
Patrick Walton 96f807def6 libsyntax: De-`@mut` the interner map 2014-01-03 14:01:59 -08:00
Patrick Walton 9d6f8cdefa libsyntax: De-`@mut` (and de-`@`) the AST mapping context 2014-01-03 14:01:59 -08:00
Patrick Walton acdc998737 libsyntax: De-`@mut` the path in the AST mapping context 2014-01-03 14:01:58 -08:00
Patrick Walton 4269f85d5b libsyntax: De-`@mut` `name_idx` 2014-01-03 14:01:58 -08:00
Patrick Walton 449ebeea08 librustc: De-`@mut` the AST map 2014-01-03 14:01:58 -08:00
Patrick Walton 12ad1b0662 libsyntax: De-`@mut` `CurrentCommentAndLiteral` 2014-01-03 14:01:58 -08:00
Patrick Walton 522a68d5bc libsyntax: De-`@mut` the resolve table 2014-01-03 14:01:58 -08:00
Patrick Walton 8ed6f3e78f libsyntax: De-`@mut` the handler 2014-01-03 14:01:58 -08:00
Patrick Walton a2b7367a88 libsyntax: De-`@mut` `HandlerT::err_count` 2014-01-03 14:01:58 -08:00
Patrick Walton d347d5a762 libsyntax: De-`@mut` `TtFrame` 2014-01-03 14:01:58 -08:00
Patrick Walton a7f7482e79 libsyntax: De-`@mut` `TtFrame::idx` 2014-01-03 14:01:58 -08:00
Patrick Walton 497b63ddf0 librustc: De-`@mut` all writers 2014-01-03 14:01:58 -08:00
Patrick Walton b26018cc89 librustc: De-`@mut` (and de-`@`) the pretty printer 2014-01-03 14:01:58 -08:00
Patrick Walton 4d66af2698 librustc: De-`@mut` the span handler 2014-01-03 14:01:57 -08:00
Patrick Walton 7e1b535eb1 libsyntax: De-`@mut` `StringReader`, `TtReader`, and `reader` 2014-01-03 14:01:57 -08:00
Patrick Walton 2b83377b29 libsyntax: De-`@mut` `TtReader::stack` 2014-01-03 14:01:57 -08:00
Patrick Walton b597207ced libsyntax: De-`@mut` `TtReader::cur_span` 2014-01-03 14:01:57 -08:00
Patrick Walton c233c2edfd libsyntax: De-`@mut` `TtReader::cur_tok` 2014-01-03 14:01:57 -08:00
Patrick Walton bac8b2e557 libsyntax: De-`@mut` `TtReader::repeat_len` 2014-01-03 14:01:57 -08:00
Patrick Walton db21387ad0 libsyntax: De-`@mut` `TtReader::repeat_idx` 2014-01-03 14:01:57 -08:00
Patrick Walton 3810bea0da libsyntax: De-`@mut` `TtReader::interpolations` 2014-01-03 14:01:57 -08:00
Patrick Walton 185608754d libsyntax: De-`@mut` `StringReader::peek_span` 2014-01-03 14:01:57 -08:00
Patrick Walton a214b8e41d libsyntax: De-`@mut` `StringReader::peek_tok` 2014-01-03 14:01:57 -08:00
Patrick Walton 501a6c816a libsyntax: De-`@mut` `StringReader::curr` 2014-01-03 14:01:56 -08:00
Patrick Walton aa3527a1a3 libsyntax: De-`@mut` `StringReader::col` 2014-01-03 14:01:56 -08:00
Patrick Walton 13b235d1e5 libsyntax: De-`@mut` `StringReader::last_pos` 2014-01-03 14:01:56 -08:00
Patrick Walton b33386d055 libsyntax: De-`@mut` `StringReader::pos` 2014-01-03 14:01:56 -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
bors d3ae3a27c4 auto merge of #11264 : am0d/rust/crate_type_lint, r=alexcrichton
This ensures that the `crate_type` attribute always contains a value,
and does not contain an invalid value.

Fixes #11256.
2014-01-03 13:31:58 -08:00
bors 08321f1c49 auto merge of #11149 : alexcrichton/rust/remove-either, r=brson
Had to change some stuff in typeck to bootstrap (getting methods in fmt off of Either), but other than that not so painful.

Closes #9157
2014-01-03 12:16:48 -08:00
Brian Anderson f86d07998a Fix windows dist script
In copying the license for the third-party bins it is attempting
to delete a directory that doesn't exist.
2014-01-03 11:41:23 -08:00
Alex Crichton 2453079d09 Change rmake and doc-test to support TESTNAME
Closes #11288
Closes #11222
2014-01-03 11:16:52 -08:00
Alex Crichton 4bea679dbe Remove std::either 2014-01-03 10:25:23 -08:00
bors 11ce6b709a auto merge of #11276 : brson/rust/0.9, r=pcwalton 2014-01-03 09:56:44 -08:00
bors a1cb8dc30c auto merge of #11275 : matt-auld/rust/update_readme, r=pcwalton 2014-01-03 08:41:45 -08:00
bors 8d4719047b auto merge of #11262 : alexcrichton/rust/issue-11259, r=pcwalton
Closes #11259
2014-01-03 05:46:47 -08:00
bors b9c39c6a27 auto merge of #11228 : sfackler/rust/syntaxenv, r=pcwalton
I'd really like to be able to do something like

```rust
struct MapChain<'next, K, V> {
    info: BlockInfo,
    map: HashMap<K, V>,
    next: Option<&'next mut MapChain<'next, K, V>
}
```

but I can't get the lifetimes to work out.
2014-01-03 04:32:07 -08:00
bors bfde029247 auto merge of #10861 : alexcrichton/rust/iostr, r=pcwalton
These methods are sorely needed on readers and writers, and I believe that the
encoding story should be solved with composition. This commit adds back the
missed functions when reading/writing strings onto generic Readers/Writers.
2014-01-03 01:16:52 -08:00
Alex Crichton a2a6720959 Add read_to_str and write_{str, line}
These methods are sorely needed on readers and writers, and I believe that the
encoding story should be solved with composition. This commit adds back the
missed functions when reading/writing strings onto generic Readers/Writers.
2014-01-03 00:41:24 -08:00
bors bb9c5c48ef auto merge of #11052 : jvns/rust/testing-tutorial, r=brson
There's no explanation anywhere right now of how to do testing with Rust, so here's a basic explanation of how to write and run a test.
2014-01-02 23:56:53 -08:00
bors fb46225980 auto merge of #11093 : alexcrichton/rust/issue-11085, r=pcwalton
Closes #11085
2014-01-02 20:06:56 -08:00
Brian Anderson 649c648d6f Abort on double-failure. #910
Previously this was an rtabort!, indicating a runtime bug. Promote
this to a more intentional abort and print a (slightly) more
informative error message.

Can't test this sense our test suite can't handle an abort exit.
2014-01-02 18:46:29 -08:00
bors 27ce4d3f79 auto merge of #11226 : pcwalton/rust/mutable-parser, r=pcwalton
r? @alexcrichton
2014-01-02 15:56:49 -08:00
Carl-Anton Ingmarsson a82f32b3eb fixup! libstd: Always inline all byteswap functions 2014-01-03 00:28:17 +01:00