diff options
| author | Eric Wu <eric.dianhao.wu@gmail.com> | 2023-01-01 21:23:32 -0500 |
|---|---|---|
| committer | Eric Wu <eric.dianhao.wu@gmail.com> | 2023-01-01 21:41:46 -0500 |
| commit | 8de011fdf72849e6dc25555bc1800632a66615f6 (patch) | |
| tree | 71c69a9f0c11b34b31036c980614e045e2f93f7e /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | a85e480dd15bca2231550a936398f30f97eb5d53 (diff) | |
| download | rust-8de011fdf72849e6dc25555bc1800632a66615f6.tar.gz rust-8de011fdf72849e6dc25555bc1800632a66615f6.zip | |
don't lint field_reassign when field in closure
This commit makes the ContainsName struct visit all interior expressions, which means that ContainsName will return true even if `name` is used in a closure within `expr`.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
