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>2019-08-12 12:43:33 +0000
committerbors <bors@rust-lang.org>2019-08-12 12:43:33 +0000
commit60960a260f7b5c695fd0717311d72ce62dd4eb43 (patch)
tree34522438910194e518dde0cce26271f09a25d240 /src/libstd/sys/unix/stack_overflow.rs
parentc01be67ea40266d6a4c3289654a07ddd7ce2a172 (diff)
parent0499923b188f35205cf49d8e306ea25ac7763d21 (diff)
downloadrust-60960a260f7b5c695fd0717311d72ce62dd4eb43.tar.gz
rust-60960a260f7b5c695fd0717311d72ce62dd4eb43.zip
Auto merge of #63483 - RalfJung:invalid-value, r=Centril
Improve invalid_value lint message

The lint now explains which type is involved and why it cannot be initialized this way. It also points at the innermost struct/enum field that has an offending type, if any.

See https://github.com/erlepereira/x11-rs/issues/99#issuecomment-520311911 for how this helps in some real-world code hitting this lint.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions