rust/src/libcore/convert
Manish Goregaokar 9ca811772c
Rollup merge of #73361 - estebank:non-primitive-cast, r=davidtwco
Tweak "non-primitive cast" error

- Suggest borrowing expression if it would allow cast to work.
- Suggest using `<Type>::from(<expr>)` when appropriate.
- Minor tweak to `;` typo suggestion.

Partily address #47136.
2020-06-18 15:20:57 -07:00
..
mod.rs Tweak "non-primitive cast" error 2020-06-15 08:57:20 -07:00
num.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00