Niko Matsakis
1b487a8906
Implement generalized object and type parameter bounds ( Fixes #16462 )
2014-08-27 21:46:52 -04:00
Alex Crichton
748bc3ca49
std: Rename {Eq,Ord} to Partial{Eq,Ord}
...
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-05-30 15:52:24 -07:00
Manish Goregaokar
713e87526e
Use new attribute syntax in python files in src/etc too ( #13478 )
2014-04-14 21:00:31 +05:30
Brendan Zabarauskas
cf56624a4a
Add operator trait constraints to std::num::{Zero, One} and document their appropriate use
...
Zero and One have precise definitions in mathematics. Documentation has been added to describe the appropriate uses for these traits and the laws that they should satisfy.
For more information regarding these identities, see the following wikipedia pages:
- http://wikipedia.org/wiki/Additive_identity
- http://wikipedia.org/wiki/Multiplicative_identity
2014-01-20 18:09:46 +11:00
Alex Crichton
3396365cab
Add appropriate #[feature] directives to tests
2013-10-06 14:39:25 -07:00
Tim Chevalier
7ad1cc71e3
testsuite: Add main function to issue-5554 test
2013-05-28 13:43:10 -07:00
Tim Chevalier
351f6033d6
testsuite: Update core to std
2013-05-27 17:32:32 -07:00
Tim Chevalier
403aee1082
testsuite: Test cases, one xfailed, one not
2013-05-27 17:32:32 -07:00