about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-18 15:20:57 -0700
committerGitHub <noreply@github.com>2020-06-18 15:20:57 -0700
commit9ca811772c2fddefeda4567cdfb8c790c94e0085 (patch)
treea4ede3c4340f0e6bbe965db8098227aa1c5a2943 /src/libstd/sys/unix/stack_overflow.rs
parentf4b5f581a9c2604a951043decd6acf4e2852fe35 (diff)
parente857696cf8c3b4a4381d00424f165c10f93a9ebd (diff)
downloadrust-9ca811772c2fddefeda4567cdfb8c790c94e0085.tar.gz
rust-9ca811772c2fddefeda4567cdfb8c790c94e0085.zip
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions