summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
AgeCommit message (Collapse)AuthorLines
2014-01-04Don't allow newtype structs to be dereferenced. #6246Brian Anderson-6/+6
2014-01-03libsyntax: De-`@mut` `CodeMap::files`Patrick Walton-16/+28
2014-01-03libsyntax: De-`@mut` `FileMap::multibyte_chars`Patrick Walton-4/+6
2014-01-03libsyntax: De-`@mut` `FileMap::lines`Patrick Walton-10/+14
2014-01-02Output columns 1-based. Fixes #10848Jan Niklas Hasse-2/+2
2014-01-01syntax::codemap: Add static DUMMY_SPklutzy-8/+5
It replaces `dummy_sp()`.
2013-12-12Add --dep-info to write Makefile-compatible dependency info.Jack Moffitt-0/+4
When --dep-info is given, rustc will write out a `$input_base.d` file in the output directory that contains Makefile compatible dependency information for use with tools like make and ninja.
2013-12-08Remove dead codesKiet Tran-7/+0
2013-12-07syntax: print expansion info from #[attribute] macros in the correctHuon Wilson-1/+15
format. Previously, any attempt to use this information from inside something like #[deriving(Foo)] would result in it printing like `deriving(Foo)!`.
2013-11-20Make BytePos 32-bitSeo Sanghyeon-5/+7
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-7/+7
Who doesn't like a massive renaming?
2013-09-30syntax: Remove usage of fmt!Alex Crichton-10/+10
2013-09-14These impls, at least, can be avoided by deriving Ord.Lindsey Kuper-16/+2
2013-09-01Modernized a few type names in rustc and syntaxMarvin Löbel-27/+27
2013-08-12Forbid pub/priv where it has no effectAlex Crichton-2/+2
Closes #5495
2013-08-05auto merge of #8278 : cmr/rust/workaround, r=brsonbors-4/+11
2013-08-03remove obsolete `foreach` keywordDaniel Micay-3/+3
this has been replaced by `for`
2013-08-03Work around #8256, do not fail the task, just return NoneCorey Richardson-4/+11
2013-08-02replace `range` with an external iteratorDaniel Micay-2/+1
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-2/+2
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-4/+7
2013-07-17librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them.Patrick Walton-1/+1
2013-07-05Do not rely on newtype enum dereferenceSeo Sanghyeon-7/+2
2013-06-29Use more deriving(IterBytes) in libsyntax.Ben Blum-46/+7
2013-06-25great renaming propagation: syntaxCorey Richardson-5/+3
2013-06-23vec: remove BaseIter implementationDaniel Micay-2/+2
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-11/+11
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-10std: convert character-based str::find_* to methods. Add .slice_{to,from} ↵Huon Wilson-6/+5
methods.
2013-06-10std: remove str::{len, slice, is_empty} in favour of methods.Huon Wilson-3/+3
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-15/+11
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+3
2013-05-23core: remove iter_bytes helper functionsErick Tryzelaar-4/+8
2013-05-22librustc: Change `std` to `extra` throughout libsyntax and librustcPatrick Walton-1/+1
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-19Register snapshotsBrian Anderson-48/+0
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-2/+2
2013-05-16syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)].Huon Wilson-3/+1
Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute and remove the majority of the actual code, leaving stubs to refer the user to the new syntax.
2013-05-14syntax: add IterBytes impls for some ast typesErick Tryzelaar-0/+60
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-2/+1
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-2/+2
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-05-10syntax: Use the new `for` protocolAlex Crichton-0/+14
2013-05-05Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-14/+4
Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs
2013-05-04Register snapshotsBrian Anderson-15/+0
2013-05-02librustc: Update the serializer to work properly with INHTWAMA, removing ↵Patrick Walton-0/+17
mutable fields in the process
2013-05-02fix numerous dynamic borrow failuresNiko Matsakis-1/+1
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-12/+0
2013-04-30new borrow checker (mass squash)Niko Matsakis-2/+2
2013-04-27only use #[no_core] in libcoreDaniel Micay-5/+0
2013-04-19syntax: de-mode and prepare for de-modeing rustcAlex Crichton-16/+16
2013-04-10libsyntax comments onlyJohn Clements-0/+4