about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMichael Wright <mikerite@lavabit.com>2020-08-23 07:50:59 +0200
committerMichael Wright <mikerite@lavabit.com>2020-08-23 07:50:59 +0200
commite8d33d73dc3f9d0daf9b3affe65a2431f5a3e13a (patch)
treeb0bc083d86082b8bf05ee732574c15839736e443 /src/test/incremental/thinlto
parentdd07860b839a46782e3750a8924ecf380486c460 (diff)
downloadrust-e8d33d73dc3f9d0daf9b3affe65a2431f5a3e13a.tar.gz
rust-e8d33d73dc3f9d0daf9b3affe65a2431f5a3e13a.zip
Fix `let_and_return` bad suggestion
Add a cast to the suggestion when the return expression has adjustments.
These adjustments are lost when the suggestion is applied.

This is similar to the problem in issue #4437.

Closes #5729
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions