diff options
| author | David Wood <david@davidtw.co> | 2019-04-22 10:16:47 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-04-22 19:26:24 +0100 |
| commit | 7ab1bfd692c2679278c5dc978b04dfb16dfae470 (patch) | |
| tree | 813d67fa414a65a40f2acb39da5e458d04b1d425 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | fd95ba357465e39386924e40e05efef715a4ad46 (diff) | |
| download | rust-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
