summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2014-01-09auto merge of #11414 : nick29581/rust/span, r=alexcrichtonbors-1/+2
...at the start of the path, rather than at the start of the view_path. Fixes #11317
2014-01-09auto merge of #11402 : bjz/rust/remove-approx, r=alexcrichtonbors-37/+0
This trait seems to stray too far from the mandate of a standard library as implementations may vary between use cases. Third party libraries should implement their own if they need something like it. This closes #5316. r? @alexcrichton, @pcwalton
2014-01-08Remove the io::Decorator traitAlex Crichton-4/+2
This is just an unnecessary trait that no one's ever going to parameterize over and it's more useful to just define the methods directly on the types themselves. The implementors of this type almost always don't want inner_mut_ref() but they're forced to define it as well.
2014-01-09Start the span for a path in a view_path at the correct place (at the start ↵Nick Cameron-1/+2
of the path, rather than at the start of the view_path).
2014-01-09Remove ApproxEq and assert_approx_eq!Brendan Zabarauskas-37/+0
This trait seems to stray too far from the mandate of a standard library as implementations may vary between use cases.
2014-01-08auto merge of #11401 : michaelwoerister/rust/issue11322, r=alexcrichtonbors-13/+6
`expand_include_str()` in libsyntax seems to have corrupted the CodeMap by always setting the BytePos of any included files to zero. It now uses `CodeMap::new_filemap()` which should set everything properly. This should fix issue #11322 but I don't want to close it before I have confirmation from the reporters that the problem is indeed fixed.
2014-01-08auto merge of #11370 : alexcrichton/rust/issue-10465, r=pwaltonbors-1/+1
Turned out to be a 2-line fix, but the compiler fallout was huge.
2014-01-08Fix CodeMap issue in expand_include_str()Michael Woerister-13/+6
2014-01-08auto merge of #11405 : huonw/rust/moredocs, r=huonwbors-7/+15
Various documentation changes, change the 'borrowed pointer' terminology to 'reference', fix a problem with 'make dist' on windows.
2014-01-07Fixup the rest of the tests in the compilerAlex Crichton-0/+1
2014-01-07Fix remaining cases of leaking importsAlex Crichton-1/+0
2014-01-07doc: Add rustc and syntax to the indexBrian Anderson-4/+12
2014-01-07'borrowed pointer' -> 'reference'Brian Anderson-3/+3
2014-01-08Renamed Option::map_default and mutate_default to map_or and mutate_or_setMarvin Löbel-4/+3
2014-01-06auto merge of #11332 : sfackler/rust/de-at-se, r=huonwbors-61/+60
This is necessary for #11151 to make sure dtors run before the libraries are unloaded.
2014-01-06Disowned the Visitor.Eduard Burtescu-483/+396
2014-01-05Use ~-objects instead of @-objects for syntax extsSteven Fackler-61/+60
This is necessary for #11151 to make sure dtors run before the libraries are unloaded.
2014-01-04auto merge of #11314 : adridu59/rust/patch-license, r=brsonbors-2/+2
- don't check for an hardcoded copyright claim year, check the 2 surrounding strings instead - logic: if either the `//` or `#`-style copyright patterns are found, don't invalidate - cleanup hardcoded content and streamline the few files with different line breaks r? @brson
2014-01-04Don't allow newtype structs to be dereferenced. #6246Brian Anderson-6/+6
2014-01-04etc: licenseck: don't hardcode a specific yearAdrien Tétar-2/+2
2014-01-03libsyntax: Fix tests.Patrick Walton-16/+11
2014-01-03librustc: Remove `@mut` support from the parserPatrick Walton-34/+26
2014-01-03librustc: Remove `@mut` support from the typechecker and borrow checkerPatrick Walton-1/+1
2014-01-03libsyntax: Remove unused `MultiRenamer`Patrick Walton-17/+3
2014-01-03libsyntax: De-`@mut` `ps::boxes`Patrick Walton-12/+26
2014-01-03libsyntax: De-`@mut` (and de-`@`) `Printer::print_stack`Patrick Walton-4/+4
2014-01-03libsyntax: De-`@mut` `Interner::vect`Patrick Walton-19/+31
2014-01-03libsyntax: De-`@mut` `CodeMap::files`Patrick Walton-18/+34
2014-01-03libsyntax: De-`@mut` `FileMap::multibyte_chars`Patrick Walton-5/+7
2014-01-03libsyntax: De-`@mut` `FileMap::lines`Patrick Walton-11/+16
2014-01-03libsyntax: Correctly de-`@mut` the pretty printer writerPatrick Walton-19/+15
2014-01-03libsyntax: Remove an unnecessary `@mut io::Reader`Patrick Walton-8/+10
2014-01-03libsyntax: De-`@mut` `SCTable`Patrick Walton-10/+14
2014-01-03libsyntax: De-`@mut` `SCTable::rename_memo`Patrick Walton-5/+6
2014-01-03libsyntax: De-`@mut` `SCTable::mark_memo`Patrick Walton-7/+8
2014-01-03libsyntax: De-`@mut` `SCTable::table`Patrick Walton-16/+44
2014-01-03libsyntax: De-`@mut` the interner mapPatrick Walton-10/+15
2014-01-03libsyntax: De-`@mut` (and de-`@`) the AST mapping contextPatrick Walton-4/+4
2014-01-03libsyntax: De-`@mut` the path in the AST mapping contextPatrick Walton-12/+25
2014-01-03libsyntax: De-`@mut` `name_idx`Patrick Walton-7/+8
2014-01-03librustc: De-`@mut` the AST mapPatrick Walton-33/+61
2014-01-03libsyntax: De-`@mut` `CurrentCommentAndLiteral`Patrick Walton-3/+3
2014-01-03libsyntax: De-`@mut` the resolve tablePatrick Walton-5/+8
2014-01-03libsyntax: De-`@mut` the handlerPatrick Walton-16/+16
2014-01-03libsyntax: De-`@mut` `HandlerT::err_count`Patrick Walton-7/+8
2014-01-03libsyntax: De-`@mut` `TtFrame`Patrick Walton-7/+7
2014-01-03libsyntax: De-`@mut` `TtFrame::idx`Patrick Walton-14/+14
2014-01-03librustc: De-`@mut` all writersPatrick Walton-14/+35
2014-01-03librustc: De-`@mut` (and de-`@`) the pretty printerPatrick Walton-394/+418
2014-01-03librustc: De-`@mut` the span handlerPatrick Walton-33/+29