diff options
| author | David Wood <david@davidtw.co> | 2018-09-17 20:49:21 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-09-23 14:18:34 +0200 |
| commit | 350ed4200c045ef8396c50bcc9e0397bf3df4cb6 (patch) | |
| tree | 6bc43bc3ccccd588969041fdf8d605b5a5212ac1 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 3becbbc1299f6938ff13f09ee3b3f37f7600326f (diff) | |
| download | rust-350ed4200c045ef8396c50bcc9e0397bf3df4cb6.tar.gz rust-350ed4200c045ef8396c50bcc9e0397bf3df4cb6.zip | |
Added note about dangling references.
This error can only occur within a function when a borrow of data owned within the function is returned; and when there are arguments that could have been returned instead. Therefore, it is always applicable to add a specific note that links to the relevant rust documentation about dangling references.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
