about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-06-23 00:20:23 +0200
committerGitHub <noreply@github.com>2021-06-23 00:20:23 +0200
commit68485b47976f8fdb4da11f202bd17d99c91cd2d3 (patch)
treec0f476ffb9f774d28ee71e7347164b14197c3bfc /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf19aad85a8736d13af677e50188f08cf900a1d03 (diff)
parent9db5c483ab50d70db6381f70c17711e2e472c0d3 (diff)
downloadrust-68485b47976f8fdb4da11f202bd17d99c91cd2d3.tar.gz
rust-68485b47976f8fdb4da11f202bd17d99c91cd2d3.zip
Rollup merge of #86549 - mbartlett21:patch-1, r=GuillaumeGomez
Add destructuring example of E0508

This adds an example that destructures the array to move the value, instead of taking a reference or cloning.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions