about summary refs log tree commit diff
path: root/library/core/tests/ops.rs
AgeCommit message (Collapse)AuthorLines
2025-01-26Put all coretests in a separate cratebjorn3-242/+0
2024-08-12Explicitly specify type parameter on FromResidual impls in stdlib.Zachary S-0/+1
To work around coherence issue. Also adds regression test.
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2021-11-21Test not neverDavid Tolnay-0/+6
Currently fails to build: error[E0600]: cannot apply unary operator `!` to type `!` --> library/core/tests/ops.rs:239:8 | 239 | if !return () {} | ^^^^^^^^^^ cannot apply unary operator `!`
2021-02-06Expand the docs for ops::ControlFlow a bitScott McMurray-0/+2
Since I was writing some examples for an RFC anyway.
2020-11-30Make ui test that are run-pass and do not test the compiler itself library testsChristiaan Dirkx-0/+33
2020-11-07Test structural matching for all range typesChristiaan Dirkx-1/+47
Adds structural match tests for all range types. Note: also adds the otherwise unrelated test `test_range_to_inclusive` for completeness
2020-11-05Move range in ui test to ops test in library/coreDaiki Ihara-1/+58
2020-07-27mv std libs to library/mark-0/+96