allow needless_option_take to report for more cases
In general, needless_option_take should report whenever take() is called on a temporary value, not just when the temporary value is created by as_ref()
E
Eric committed
b8cd51313e0113835c68b2b312f78e9104336f99
Parent: b829d53