about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-06-05 19:44:04 +0000
committerGitHub <noreply@github.com>2025-06-05 19:44:04 +0000
commit6bb0c97409cbfac7ec6f49f9aec3d35a5ae35122 (patch)
tree968aeae36c3ea8cc497f10a54c65cede49bd0afe /compiler/rustc_codegen_llvm/src/errors.rs
parentda93448c9875e40b252c794d4b08a28fe3cbeb65 (diff)
parent1e96456b84bd22dd5140dd4feb9108fc87e17da9 (diff)
downloadrust-6bb0c97409cbfac7ec6f49f9aec3d35a5ae35122.tar.gz
rust-6bb0c97409cbfac7ec6f49f9aec3d35a5ae35122.zip
Fix false positive for unused_unit (#14962)
Given a type alias as follows, clippy would detect a false positive for
`unused_unit`.

```rust
type UnusedParensButNoUnit = Box<dyn (Fn())>;
```

changelog: [`unused_unit`]: fix false positive for `Fn` bounds
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions