rust/src/test
Tomasz Miąsko e4efccd4a6 Fix derived PartialOrd operators
The derived implementation of `partial_cmp` compares matching fields one
by one, stopping the computation when the result of a comparison is not
equal to `Some(Equal)`.

On the other hand the derived implementation for `lt`, `le`, `gt` and
`ge` continues the computation when the result of a field comparison is
`None`, consequently those operators are not transitive and inconsistent
with `partial_cmp`.

Fix the inconsistency by using the default implementation that fall-backs
to the `partial_cmp`. This also avoids creating very deeply nested
closures that were quite costly to compile.
2021-02-09 08:15:37 +01:00
..
assembly
auxiliary
codegen Add a test for escaping LLVMisms in inline asm 2021-02-06 15:18:37 +02:00
codegen-units
debuginfo
incremental
mir-opt path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
pretty
run-make
run-make-fulldeps expand/resolve: Turn #[derive] into a regular macro attribute 2021-02-07 20:08:45 +03:00
run-pass-valgrind
rustdoc Auto merge of #81313 - LeSeulArtichaut:revert-32558, r=jyn514 2021-02-08 10:46:10 +00:00
rustdoc-js
rustdoc-js-std
rustdoc-json Add abi field to Method 2021-02-05 22:25:11 -05:00
rustdoc-ui
rustfix
ui Fix derived PartialOrd operators 2021-02-09 08:15:37 +01:00
ui-fulldeps
COMPILER_TESTS.md