about summary refs log tree commit diff
path: root/src/test/run-pass/trait-inheritance-num.rs
AgeCommit message (Collapse)AuthorLines
2018-09-06Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.Felix S. Klock II-20/+0
2015-04-21test: Fix fallout in testsAlex Crichton-8/+3
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-23Require feature attributes, and add them where necessaryBrian Anderson-0/+2
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-1/+0
2015-01-30Remove all `i` suffixesTobias Bucher-2/+2
2014-11-13Deprecate Num, Unsigned and PrimitiveBrendan Zabarauskas-3/+3
2014-06-24librustc: Remove the fallback to `int` from typechecking.Niko Matsakis-2/+2
This breaks a fair amount of code. The typical patterns are: * `for _ in range(0, 10)`: change to `for _ in range(0u, 10)`; * `println!("{}", 3)`: change to `println!("{}", 3i)`; * `[1, 2, 3].len()`: change to `[1i, 2, 3].len()`. RFC #30. Closes #6023. [breaking-change]
2014-05-30std: Rename {Eq,Ord} to Partial{Eq,Ord}Alex Crichton-2/+2
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-06Remove check-fast. Closes #4193, #8844, #6330, #7416Brian Anderson-1/+0
2014-03-14extra: Put the nail in the coffin, delete libextraAlex Crichton-2/+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-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-2/+2
2014-01-09Remove ApproxEq and assert_approx_eq!Brendan Zabarauskas-1/+1
This trait seems to stray too far from the mandate of a standard library as implementations may vary between use cases.
2013-10-02std: Replace num::IntConvertible with {To,From}PrimitiveErick Tryzelaar-2/+2
2013-05-22test: Update tests to use the new syntax.Patrick Walton-3/+3
2013-05-22test: Fix tests.Patrick Walton-3/+3
2013-05-06Move FuzzyEq trait into core::cmp and rename it to 'ApproxEq'Brendan Zabarauskas-2/+1
2013-04-14Restore Num traitBrendan Zabarauskas-1/+1
This restores the trait that was lost in 216e85fadf465c25fe7bc4a9f06f8162ec12b552. It will eventually be broken up into a more fine-grained trait hierarchy in the future once a design can be agreed upon.
2013-03-26test: Fix testsPatrick Walton-2/+2
2013-03-05libsyntax: Separate multiple inherited traits with `+`Patrick Walton-2/+2
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-2/+2
imports
2013-02-14libcore: Move the numeric operations out of Num. r=brsonPatrick Walton-1/+1
Sadly I could not use trait inheritance due to a type parameter substitution bug.
2013-02-11Add NumCast trait for generic numeric type castsBrendan Zabarauskas-4/+4
2013-02-08Fix broken testsBrendan Zabarauskas-1/+1
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2012-12-18Stop resolving static methods at the module level. Closes #4179Brian Anderson-1/+1
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-0/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-12-07Trait constraints are separated by space, not commaBrian Anderson-2/+2
2012-11-29Implement trait inheritance for bounded type parametersBrian Anderson-0/+14