2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2024-12-29 06:23:21 +00:00
rust-clippy/tests/ui/auxiliary/implicit_hasher_macros.rs
Michael Wright de7749832c Fix bug in implicit_hasher causing crashes
Skip linting if the type is from an external macro. Closes .
2019-07-11 08:47:05 +02:00

6 lines
118 B
Rust

#[macro_export]
macro_rules! implicit_hasher_fn {
() => {
pub fn f(input: &HashMap<u32, u32>) {}
};
}