]> git.lizzy.rs Git - rust.git/commit
Fix bug in `implicit_hasher` causing crashes
authorMichael Wright <mikerite@lavabit.com>
Thu, 11 Jul 2019 06:47:05 +0000 (08:47 +0200)
committerMichael Wright <mikerite@lavabit.com>
Thu, 11 Jul 2019 06:47:05 +0000 (08:47 +0200)
commitde7749832c5806de67011baa1264982308c73104
treeb97f67e1b58fb496f10129488f8d47e501123ef0
parent032ae968560e78708f40f2fdd5ce95775daec836
Fix bug in `implicit_hasher` causing crashes

Skip linting if the type is from an external macro. Closes #4260.
clippy_lints/src/types.rs
tests/ui/auxiliary/implicit_hasher_macros.rs [new file with mode: 0644]
tests/ui/implicit_hasher.rs
tests/ui/implicit_hasher.stderr