summary refs log tree commit diff
path: root/src/libsyntax/attr.rs
AgeCommit message (Collapse)AuthorLines
2012-09-28demode vecNiko Matsakis-8/+8
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-9/+0
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-2/+2
2012-09-20Revert "syntax: Make attributes sendable for rustdoc's benefit"Brian Anderson-42/+42
This reverts commit 90e3665fa79d32c3188169cfa992516fb36b81a8.
2012-09-20syntax: Make attributes sendable for rustdoc's benefitBrian Anderson-42/+42
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+9
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-3/+3
2012-09-19Remove redundant hashmap constructor functions.Graydon Hoare-1/+1
2012-09-10Make all moves explicit in libsyntaxTim Chevalier-1/+1
2012-09-10Convert std::map to camel caseBrian Anderson-1/+1
2012-09-10rustc: Make shape-based compare glue never called for comparison operators.Patrick Walton-0/+7
Only called for string patterns.
2012-09-04libsyntax: "import" -> "use"Patrick Walton-6/+6
2012-08-26Camel case the option typeBrian Anderson-35/+35
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-1/+1
2012-08-22Merge find_linkage_attrs with find_linkage_metasTim Chevalier-15/+5
This gets rid of a gratuitous `match check`.
2012-08-22intern identifiersPaul Stansifer-61/+51
2012-08-15Convert more core types to camel caseBrian Anderson-7/+7
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-4/+4
Require comma separators for all expression types except the plain block
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-16/+16
2012-08-05Switch alts to use arrowsBrian Anderson-49/+38
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-3/+3
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-21/+21
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-7/+7
2012-07-26Add #[inline(never)], and also fixed inlining on vec::pushEric Holk-1/+5
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-27/+28
#2907.
2012-07-13Support prefix notation for vstore strings. Closes #2906.Michael Sullivan-7/+7
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-4/+4
2012-07-05Comments only: change TODOs to FIXMEs and annotate themTim Chevalier-1/+1
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-24/+20
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-2/+25
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-07-01Convert to new closure syntaxBrian Anderson-8/+7
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-2/+25
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes. 2. add a script in etc/ to help converting doc-attributes to doc-comments 3. add some functions to core::str to help with (1)
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-27/+27
2012-06-27Replace more vector + (issue #2719)Eric Holk-2/+2
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-6/+6
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-29/+29
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-11/+11
2012-06-14Comments only: annotate FIXMEsTim Chevalier-1/+2
2012-06-13Box AST identsBrian Anderson-25/+25
2012-06-07syntax: Add a lot of copy keywordsPatrick Walton-1/+2
2012-06-07syntax: Remove a bunch of implicit copiesPatrick Walton-30/+40
2012-06-02make vec fns/methods take imm slices.Niko Matsakis-7/+2
this also repairs the unsoundness in typing of unpack_slice, which was silently converting a const ptr to an imm one.
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+386
Per issue #2418.