summary refs log tree commit diff
path: root/src/librustdoc/attr_pass.rs
AgeCommit message (Collapse)AuthorLines
2013-06-30Remove vec::{map, mapi, zip_map} and the methods, except for .map, since thisHuon Wilson-9/+8
is very common, and the replacement (.iter().transform().collect()) is very ugly.
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-3/+1
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-1/+1
2013-06-21replace vec::find with the IteratorUtil methodDaniel Micay-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+1
2013-05-22librustc: Add some missing `use core::prelude::*;` in the test casesPatrick Walton-0/+2
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-14Fix test fallout from removing vecs_implicitly_copyableAlex Crichton-3/+3
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-3/+2
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-4/+4
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-04-25Rename vec::mod2 to vec::mod_zipCorey Richardson-1/+1
2013-04-16librustdoc: move tests into dedicated tests module.Huon Wilson-106/+107
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-12/+12
2013-03-26option: rm functions that duplicate methodsDaniel Micay-5/+3
2013-03-26Move ast_map::map to LinearMapAlex Crichton-3/+3
2013-03-19librustc: Enforce privacy for static methods.Patrick Walton-1/+1
This starts moving a bunch of privacy checks into the privacy checking phase and out of resolve.
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-12/+12
2013-03-07librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. ↵Patrick Walton-7/+1
rs=deexterning
2013-03-04Remove unused imports throughout src/Alex Crichton-2/+0
2013-03-02librustdoc: Remove `fn@`, `fn~`, and `fn&` from compiletest, fuzzer, ↵Patrick Walton-1/+1
rustdoc, and rt. rs=defun
2013-02-15librustdoc: Get rid of `move`.Luqman Aden-1/+1
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-3/+3
2013-02-05oldmap: use &K instead of K in find and getPatrick Walton-3/+3
This reverts commit a4250a96fdf61142a9c8dbb6d37ae8435c99e396. This is not the cause of the nonexhaustive-match failure.
2013-02-05Revert "oldmap: use &K instead of K in find and get"Graydon Hoare-3/+3
This reverts commit 8e643525d4e5bca993dada43615916c382a0645b.
2013-02-03oldmap: use &K instead of K in find and getDaniel Micay-3/+3
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-1/+1
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-02-01Merge remote-tracking branch 'nickdesaulniers/issue4524' into nocomm1Brian Anderson-3/+3
2013-02-01rustdoc: Convert astsrv to pipesBrian Anderson-9/+10
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-3/+3
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-14/+21
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-30rustdoc: De-modeBrian Anderson-9/+9
2013-01-30rustdoc: deny(deprecated_mode)Brian Anderson-2/+2
2013-01-30rustdoc: Various bits of modernizationBrian Anderson-23/+25
2013-01-29rustdoc: Remove structural records from tests. Fixes build breakageTim Chevalier-3/+3
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-9/+9
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-14convert ast::item into a structErick Tryzelaar-3/+3
2013-01-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-1/+1
- Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-4/+6
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-6/+4
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-4/+6
module scope. r=tjc
2013-01-04Rename option::get_default => get_or_default, get_zero => get_or_zeroTim Chevalier-1/+1
2012-12-29librustdoc: Fix a bunch of rustdoc tests. rs=bustagePatrick Walton-0/+5
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+8
contain at least two components. r=graydon
2012-12-13Rename Send trait to OwnedBrian Anderson-1/+1
2012-12-05librustc: Hook borrow check loan checking up to the moves-based-on-type ↵Patrick Walton-3/+4
infrastructure. rs=helps-unbreak-the-build
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-29librustc: Eliminate most expressions of the form `a.b()` that are not method ↵Patrick Walton-1/+1
calls. rs=refactoring
2012-11-20rustdoc: Begin removing legacy modesBrian Anderson-13/+13