about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-02-10 18:05:11 +0100
committerSamuel Tardieu <sam@rfc1149.net>2025-02-15 15:56:41 +0100
commit44aa75fd2aa94850103215c8e67b0d0baa24b6b7 (patch)
tree08cec845928758dc1e5fe1edd11e34228d21947e /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent35ad69c124d67faa72e3a61f77118d1fb0585002 (diff)
downloadrust-44aa75fd2aa94850103215c8e67b0d0baa24b6b7.tar.gz
rust-44aa75fd2aa94850103215c8e67b0d0baa24b6b7.zip
`manual_slice_fill`: initializer must not reference the iterator
```rust
let mut tmp = vec![1, 2, 3];
for b in &mut tmp {
    *b = !*b;
}
```

must not suggest the invalid `tmp.fill(!*b)`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions