about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-06-14 21:36:25 -0700
committerEsteban Küber <esteban@kuber.com.ar>2020-06-15 08:57:20 -0700
commite857696cf8c3b4a4381d00424f165c10f93a9ebd (patch)
tree0da7c7f3617583ad133b881c0fffab9df5c94ab9 /src/libstd/sys/unix/stack_overflow.rs
parentbb8674837a9cc5225020e07fc3f164762bb4c11c (diff)
downloadrust-e857696cf8c3b4a4381d00424f165c10f93a9ebd.tar.gz
rust-e857696cf8c3b4a4381d00424f165c10f93a9ebd.zip
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions