about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-04-22 10:16:47 +0100
committerDavid Wood <david@davidtw.co>2019-04-22 19:26:24 +0100
commit7ab1bfd692c2679278c5dc978b04dfb16dfae470 (patch)
tree813d67fa414a65a40f2acb39da5e458d04b1d425 /src/libstd/sys/unix/stack_overflow.rs
parentfd95ba357465e39386924e40e05efef715a4ad46 (diff)
downloadrust-7ab1bfd692c2679278c5dc978b04dfb16dfae470.tar.gz
rust-7ab1bfd692c2679278c5dc978b04dfb16dfae470.zip
Only make suggestion when type is `Copy`.
This commit makes the suggestion to dereference when a type implements
`Deref` only apply if the dereference would succeed (ie. the type is
`Copy`, otherwise a borrow check error would occur).
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions