about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-29 04:08:21 +0100
committerGitHub <noreply@github.com>2019-10-29 04:08:21 +0100
commit9c5b6b2201a3af818a6efb0650b1622a342f40f5 (patch)
tree8380765a6f83c8190332c0e360ebbc0d1d79c6c5 /src/libstd/sys/unix/stack_overflow.rs
parentffc6225cd2db1d9634259aef38fd0197b12aacf9 (diff)
parent5c023d68d8b54d651e1775a69e999503ae5b2b30 (diff)
downloadrust-9c5b6b2201a3af818a6efb0650b1622a342f40f5.tar.gz
rust-9c5b6b2201a3af818a6efb0650b1622a342f40f5.zip
Rollup merge of #65562 - Patryk27:master, r=estebank
Improve the "try using a variant of the expected type" hint.

Fix https://github.com/rust-lang/rust/issues/65494.

- Change type-printing output.
- Use `span_to_snippet` when possible.
- Change the message to `try using a variant of the expected enum`
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions