diff options
| author | Lieselotte <52315535+she3py@users.noreply.github.com> | 2024-01-17 03:14:16 +0100 |
|---|---|---|
| committer | Lieselotte <52315535+she3py@users.noreply.github.com> | 2024-01-17 03:14:16 +0100 |
| commit | 33e1e6f783cb3a725f2ff0f134400031890d6f7f (patch) | |
| tree | 582db6c8c0d5516fdd2c3053620f02cd9a60dfd5 /clippy_lints/src/utils | |
| parent | 6a74a0e17ba5e13df18efe4cb77283a9a60065f1 (diff) | |
Add `PatKind::Err`
Diffstat (limited to 'clippy_lints/src/utils')
| -rw-r--r-- | clippy_lints/src/utils/author.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/utils/author.rs b/clippy_lints/src/utils/author.rs index 8d38b87e1d7..b26ebe5cee3 100644 --- a/clippy_lints/src/utils/author.rs +++ b/clippy_lints/src/utils/author.rs @@ -710,6 +710,7 @@ impl<'a, 'tcx> PrintVisitor<'a, 'tcx> { self.slice(start, |pat| self.pat(pat)); self.slice(end, |pat| self.pat(pat)); }, + PatKind::Err(_) => kind!("Err"), } } |
