]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #59348 - matthewjasper:cleanup-drop-shims, r=arielb1
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 9 May 2019 21:56:08 +0000 (23:56 +0200)
committerGitHub <noreply@github.com>
Thu, 9 May 2019 21:56:08 +0000 (23:56 +0200)
commit62ab971bb7143601a8734a9d3f072232e46eb973
tree9cda5398d2dc4e50cf8b167bfcd0618e879e5a34
parenta784a80228c9eac3aa0fd86fc90887d5fa20c82e
parent6fff547828c13d311bc3e3034f190747b9367816
Rollup merge of #59348 - matthewjasper:cleanup-drop-shims, r=arielb1

Clean up and add tests for slice drop shims

Adds a test for the MIR generated by `real_drop_in_place::<[T]>`. Also slightly reduces the number of statements and locals used in the shim.

r? @RalfJung