about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-09-17 20:49:21 +0200
committerDavid Wood <david@davidtw.co>2018-09-23 14:18:34 +0200
commit350ed4200c045ef8396c50bcc9e0397bf3df4cb6 (patch)
tree6bc43bc3ccccd588969041fdf8d605b5a5212ac1 /src/test/debuginfo/enum-thinlto.rs
parent3becbbc1299f6938ff13f09ee3b3f37f7600326f (diff)
downloadrust-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