summary refs log tree commit diff
path: root/src/libcore/convert
AgeCommit message (Expand)AuthorLines
2020-06-30Deny unsafe ops in unsafe fns, part 6LeSeulArtichaut-2/+0
2020-06-30Deny unsafe ops in unsafe fns, part 1LeSeulArtichaut-1/+4
2020-06-25Auto merge of #72717 - poliorcetics:try-from-int-to-nzint, r=dtolnaybors-0/+39
2020-06-18Rollup merge of #73361 - estebank:non-primitive-cast, r=davidtwcoManish Goregaokar-0/+1
2020-06-15Tweak "non-primitive cast" errorEsteban Küber-0/+1
2020-06-10Migrate to numeric associated constsLzu Tao-3/+3
2020-06-08Added implementations for NonZero(U|I)sizeAlexis Bourget-0/+2
2020-05-29Added implementations for TryFrom<{int}> for NonZero{int}Alexis Bourget-0/+37
2020-04-25Bump bootstrap compilerMark Rousskov-8/+1
2020-04-03Rollup merge of #70487 - Mark-Simulacrum:float-unchecked-casts, r=SimonSapinMazdak Farrokhzad-4/+11
2020-03-29Stabilize float::to_int_uncheckedMark Rousskov-4/+11
2020-03-22Implement Hash for InfallibleKonrad Borowski-0/+8
2020-03-07Correct version that relaxed orphan rulesJonathan Giddy-1/+1
2020-01-06Use Self instead of $typeLzu Tao-14/+14
2019-12-18Propagate cfg bootstrapMark Rousskov-3/+1
2019-12-14Auto merge of #67224 - nikomatsakis:revert-stabilization-of-never-type, r=cen...bors-7/+88
2019-12-14Revert "Redefine `core::convert::Infallible` as `!`."Niko Matsakis-7/+88
2019-12-14Auto merge of #67136 - oli-obk:const_stability, r=Centrilbors-0/+1
2019-12-13docs: std::convert::From: Fix typoShaleen Jain-1/+1
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-0/+1
2019-12-08move from non zero impls to `libcore/convert/num.rs`Peter-0/+1115
2019-12-08leave a FIXMEMazdak Farrokhzad-1/+1
2019-12-08use `#[allow(unused_attributes)]` to paper over incr.comp problemMazdak Farrokhzad-0/+1
2019-12-06Move numeric `From` and `TryFrom` impls to `libcore/convert/num.rs`Simon Sapin-0/+331
2019-12-06Add `{f32,f64}::approx_unchecked_to<Int>` unsafe methodsSimon Sapin-0/+43
2019-12-06Make `core::convert` a directory-module with `mod.rs`Simon Sapin-0/+660