about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-11-24 01:44:19 +0000
committerbors <bors@rust-lang.org>2017-11-24 01:44:19 +0000
commit93426613a78a9e4477071d69dcccd6d4217e5c1d (patch)
treeca9754760441ce3edc258ece0c260238395e67da /src/libstd/sys/unix/stack_overflow.rs
parentbbd7932a66b56da9a1c7d8cc30dc931922b356c0 (diff)
parenta3686c685a10de7b56cacf998a9e7eabc622787b (diff)
downloadrust-93426613a78a9e4477071d69dcccd6d4217e5c1d.tar.gz
rust-93426613a78a9e4477071d69dcccd6d4217e5c1d.zip
Auto merge of #45942 - Menschenkindlein:master, r=estebank
Add hints for the case of confusing enum with its variants

A solution for https://github.com/rust-lang/rust/issues/43871. When one uses an enum in a place that accepts variants (e.g., `Option(result)` instead of `Some(result)`), suggest one of this enum's variants.

cc @estebank
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions