summary refs log tree commit diff
path: root/src/etc/generate-deriving-span-tests.py
AgeCommit message (Collapse)AuthorLines
2015-02-04Deprecate in-tree `rand`, `std::rand` and `#[derive(Rand)]`.Huon Wilson-2/+1
Use the crates.io crate `rand` (version 0.1 should be a drop in replacement for `std::rand`) and `rand_macros` (`#[derive_Rand]` should be a drop-in replacement). [breaking-change]
2015-01-17s/deriving/derives in Comments/DocsEarl St Sauver-8/+8
There are a large number of places that incorrectly refer to deriving in comments, instead of derives. Fixes #20984
2014-11-15Un-feature gate struct variantsSteven Fackler-1/+0
Struct variant field visibility is now inherited. Remove `pub` keywords from declarations. Closes #18641 [breaking-change]
2014-06-22Update few files after comparison traits renamingPiotr Jawniak-2/+2
There were still Total{Ord,Eq} in docs and src/etc
2014-05-30std: Rename {Eq,Ord} to Partial{Eq,Ord}Alex Crichton-3/+5
This is part of the ongoing renaming of the equality traits. See #12517 for more details. All code using Eq/Ord will temporarily need to move to Partial{Eq,Ord} or the Total{Eq,Ord} traits. The Total traits will soon be renamed to {Eq,Ord}. cc #12517 [breaking-change]
2014-04-14Use new attribute syntax in python files in src/etc too (#13478)Manish Goregaokar-1/+1
2014-03-20rm obsolete references to `DeepClone`Daniel Micay-1/+1
2014-03-14extra: Put the nail in the coffin, delete libextraAlex Crichton-1/+0
This commit shreds all remnants of libextra from the compiler and standard distribution. Two modules, c_vec/tempfile, were moved into libstd after some cleanup, and the other modules were moved to separate crates as seen fit. Closes #8784 Closes #12413 Closes #12576
2014-03-12Update users for the std::rand -> librand move.Huon Wilson-0/+1
2014-02-21std: rewrite Hash to make it more genericErick Tryzelaar-1/+2
This patch merges IterBytes and Hash traits, which clears up the confusion of using `#[deriving(IterBytes)]` to support hashing. Instead, it now is much easier to use the new `#[deriving(Hash)]` for making a type hashable with a stream hash. Furthermore, it supports custom non-stream-based hashers, such as if a value's hash was cached in a database. This does not yet replace the old IterBytes-hash with this new version.
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-08Update docs and tests for #[deriving(Show)].Huon Wilson-1/+2
2014-02-05etc: add missing license boilerplatesAdrien Tétar-1/+1
2014-01-28syntax: make deriving have slightly less cryptic error messages.Huon Wilson-1/+1
This unfortunately changes an error like error: mismatched types: expected `&&NotClone` but found `&NotClone` into error: type `NotClone` does not implement any method in scope named `clone`
2014-01-27Add autogenerated tests for the spans of various derived traits.Huon Wilson-0/+131