about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-08-12 20:22:58 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-08-12 20:24:30 -0700
commitfb2511c3c581d811d61e6022f863a5c0e7006ae1 (patch)
tree1881bbf6c5a382162cf825457a220a886e7dea6f /src/test/debuginfo/enum-thinlto.rs
parent1e6f7537629b668eca7a5c2e94205552b7f8f4ad (diff)
downloadrust-fb2511c3c581d811d61e6022f863a5c0e7006ae1.tar.gz
rust-fb2511c3c581d811d61e6022f863a5c0e7006ae1.zip
Suggest `Box::new` when appropriate
When encountering a boxed value as expected and a stack allocated value
that could be boxed to fulfill the expectation, like in the following
snippet, suggest `Box::new` wrapping.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions