summary refs log tree commit diff
path: root/src/librustc
AgeCommit message (Collapse)AuthorLines
2014-01-08auto merge of #11370 : alexcrichton/rust/issue-10465, r=pwaltonbors-67/+53
Turned out to be a 2-line fix, but the compiler fallout was huge.
2014-01-08auto merge of #11405 : huonw/rust/moredocs, r=huonwbors-58/+70
Various documentation changes, change the 'borrowed pointer' terminology to 'reference', fix a problem with 'make dist' on windows.
2014-01-08auto merge of #11391 : alexcrichton/rust/rustdoc-inline, r=brsonbors-8/+32
If a reexport comes from a non-public module, then the documentation for the reexport will be inlined into the module that exports it, but if the reexport is targeted at a public type (like the prelude), then it is not inlined but rather hyperlinked.
2014-01-07Fixup the rest of the tests in the compilerAlex Crichton-2/+3
2014-01-07Fix remaining cases of leaking importsAlex Crichton-8/+24
2014-01-07rustc: De-indent portions of middle::resolveAlex Crichton-56/+26
It's a little prettier to look at now
2014-01-07Fix leaking trait imports across modulesAlex Crichton-2/+1
Turns out the pass in resolve was a little too eager to travel back up the hierarchy chain when looking for trait candidates. Closes #10465
2014-01-07doc: Add rustc and syntax to the indexBrian Anderson-0/+13
2014-01-07'borrowed pointer' -> 'reference'Brian Anderson-58/+57
2014-01-07Inline reexports in rustdocAlex Crichton-8/+32
If a reexport comes from a non-public module, then the documentation for the reexport will be inlined into the module that exports it, but if the reexport is targeted at a public type (like the prelude), then it is not inlined but rather hyperlinked.
2014-01-08Renamed Option::map_default and mutate_default to map_or and mutate_or_setMarvin Löbel-14/+14
2014-01-07auto merge of #11045 : jhasse/rust/patch-libdir, r=alexcrichtonbors-4/+3
See https://github.com/mozilla/rust/issues/5223#issuecomment-30455086
2014-01-07Make CFG_LIBDIR configurable. Fixes #5223Jan Niklas Hasse-4/+3
2014-01-07auto merge of #11347 : alexcrichton/rust/issue-11346, r=brsonbors-1/+3
This ends up causing weird errors like those seen in #11346 Closes #11346
2014-01-07auto merge of #11329 : fhahn/rust/unused-cast-lint2, r=alexcrichtonbors-1/+44
Updates as mentioned in #11135
2014-01-06Add lint for unnecessary castsFlorian Hahn-1/+44
2014-01-06Don't attempt duplicate outputsAlex Crichton-1/+3
This ends up causing weird errors like those seen in #11346 Closes #11346
2014-01-06auto merge of #11333 : cmr/rust/triage2, r=alexcrichtonbors-1/+0
2014-01-06Disowned the Visitor.Eduard Burtescu-644/+624
2014-01-06auto merge of #11118 : jhasse/rust/patch-rustlibdir, r=alexcrichtonbors-2/+11
...stlib. Fixes #3319
2014-01-06librustc: tidy cleanupYoung-il Choi-1/+1
2014-01-06librustc: add get_system_tools for target specific environmentYoung-il Choi-17/+24
2014-01-06librustc: move target dependent logic to back::linkYoung-il Choi-8/+18
2014-01-06librustc: ar call fix to support android cross compile on macYoung-il Choi-1/+9
2014-01-05Remove a fixmeCorey Richardson-1/+0
pcwalton says this is right, and it looks right to me too. Closes #4731
2014-01-05Make rustc's own lib directory configurable and change the default to ↵Jan Niklas Hasse-2/+11
rustlib. Fixes #3319
2014-01-04Stop padding metadataSteven Fackler-4/+0
This is causing maybe_get_doc to fail when called at the top level of the metadata and doesn't appear to be needed anymore.
2014-01-04rustc: Add error about obsolete struct derefBrian Anderson-0/+10
2014-01-04Don't allow newtype structs to be dereferenced. #6246Brian Anderson-266/+270
2014-01-04Don't allow single-variant enums to be dereferenced. #6246Brian Anderson-72/+0
I'm not sure if this was even intentional at this point.
2014-01-04auto merge of #11295 : sfackler/rust/de-jank-encoder, r=brsonbors-6/+6
2014-01-03auto merge of #11251 : pcwalton/rust/remove-at-mut, r=pcwaltonbors-825/+649
r? @nikomatsakis for the borrow checker changes. Write guards are now eliminated.
2014-01-03Remove a hacky buffer extraction from metadataSteven Fackler-6/+6
2014-01-03librustc: Remove `@mut` support from the parserPatrick Walton-38/+23
2014-01-03librustc: Remove `@mut` support from the typechecker and borrow checkerPatrick Walton-462/+170
2014-01-03librustc: Eliminate an unnecessary `@mut` in pretty printing.Patrick Walton-2/+2
This removes all `@mut` from `librustc` and `libsyntax`.
2014-01-03libsyntax: De-`@mut` `CodeMap::files`Patrick Walton-3/+13
2014-01-03librustc: De-`@mut` the AST mapPatrick Walton-288/+410
2014-01-03librustc: De-`@mut` all writersPatrick Walton-3/+3
2014-01-03librustc: De-`@mut` (and de-`@`) the pretty printerPatrick Walton-17/+17
2014-01-03librustc: De-`@mut` the span handlerPatrick Walton-10/+9
2014-01-03librustc: De-`@mut` the parse sessionPatrick Walton-4/+4
2014-01-03auto merge of #11264 : am0d/rust/crate_type_lint, r=alexcrichtonbors-6/+23
This ensures that the `crate_type` attribute always contains a value, and does not contain an invalid value. Fixes #11256.
2014-01-03auto merge of #11149 : alexcrichton/rust/remove-either, r=brsonbors-7/+12
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-03Remove std::eitherAlex Crichton-7/+12
2014-01-03auto merge of #11276 : brson/rust/0.9, r=pcwaltonbors-2/+2
2014-01-03auto merge of #11275 : matt-auld/rust/update_readme, r=pcwaltonbors-2/+2
2014-01-03auto merge of #11262 : alexcrichton/rust/issue-11259, r=pcwaltonbors-1/+1
Closes #11259
2014-01-02auto merge of #11093 : alexcrichton/rust/issue-11085, r=pcwaltonbors-1/+37
Closes #11085
2014-01-02Bump version to 0.9Brian Anderson-2/+2