about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2024-12-02 15:41:25 +0000
committerGitHub <noreply@github.com>2024-12-02 15:41:25 +0000
commit2ddfc92ea2a0a9b63e7d90f38b141667378db49e (patch)
tree072ede6a5ba2537a9aaa9ce7f30532a33b319a52 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0a07dc5d8c2238571e4ba7370506a7f504245ab6 (diff)
parentab5d55c996af0e52e216ce18bf3c38eb263633f4 (diff)
downloadrust-2ddfc92ea2a0a9b63e7d90f38b141667378db49e.tar.gz
rust-2ddfc92ea2a0a9b63e7d90f38b141667378db49e.zip
Add more cases to the `useless_conversion` lint (#13756)
The new cases are the application of `Into::into` or `From::from`
through the following functions with no effect:
- `Option::map()`
- `Result::map()` and `Result::map_err()`
- `ControlFlow::map_break()` and `ControlFlow::map_err()`
- `Iterator::map()`

changelog: [`useless_conversion`]: detect useless calls to `Into::into`
and `From::from` application through `map*` methods
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions