| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-26 | Put all coretests in a separate crate | bjorn3 | -367/+0 | |
| 2024-10-08 | Add LowerExp and UpperExp implementations | rickdewater | -0/+11 | |
| Mark the new fmt impls with the correct rust version Clean up the fmt macro and format the tests | ||||
| 2024-02-15 | Replace `NonZero::<_>::new` with `NonZero::new`. | Markus Reiter | -19/+19 | |
| 2024-02-15 | Use generic `NonZero` internally. | Markus Reiter | -132/+133 | |
| 2023-12-10 | remove redundant imports | surechen | -2/+1 | |
| detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR. | ||||
| 2023-04-20 | Implement `Neg` for signed non-zero integers. | John Millikin | -0/+18 | |
| Negating a non-zero integer currently requires unpacking to a primitive and re-wrapping. Since negation of non-zero signed integers always produces a non-zero result, it is safe to implement `Neg` for `NonZeroI{N}`. The new `impl` is marked as stable because trait implementations for two stable types can't be marked unstable. | ||||
| 2023-04-16 | fix library and rustdoc tests | Deadbeef | -0/+2 | |
| 2021-10-20 | Make `From` impls of NonZero integer const. | woppopo | -4/+7 | |
| I also changed the feature gate added to `From` impls of Atomic integer to `const_num_from_num` from `const_convert`. | ||||
| 2021-10-18 | Make more `From` impls `const` | woppopo | -0/+3 | |
| 2020-12-17 | Added `impl Rem<NonZeroU{0}> for u{0}` which cannot panic | Ohad Ravid | -0/+8 | |
| 2020-12-17 | Added `impl Div<NonZeroU{0}> for u{0}` which cannot panic | Ohad Ravid | -0/+8 | |
| 2020-10-19 | Fix braces in panic message in test. | Mara Bos | -1/+1 | |
| 2020-11-17 | add trailing_zeros and leading_zeros to non zero types | Andreas Jonson | -1/+101 | |
| 2020-10-26 | Apply suggested changes | Ethan Brierley | -1/+1 | |
| 2020-10-06 | Bring char along with InvalidDigit | Ethan Brierley | -1/+1 | |
| 2020-10-06 | Fill in things needed to stabilize int_error_matching | Ethan Brierley | -2/+2 | |
| 2020-09-04 | Move various ui const tests to `library` | Christiaan Dirkx | -0/+17 | |
| Move: - `src\test\ui\consts\const-nonzero.rs` to `library\core` - `src\test\ui\consts\ascii.rs` to `library\core` - `src\test\ui\consts\cow-is-borrowed` to `library\alloc` Part of #76268 | ||||
| 2020-07-27 | mv std libs to library/ | mark | -0/+197 | |
