Sign in
rust
/
rust
/
HEAD
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
crashes
/
ice-3717.fixed
blob: 5581b67fa5c44ba3046be2d224bb383b53d5e1ac [
file
] [
log
] [
blame
]
#![deny(clippy::implicit_hasher)]
use
std
::
collections
::
HashSet
;
fn main
()
{}
pub fn ice_3717
<
S
:
::
std
::
hash
::
BuildHasher
+
Default
>(
_
:
&
HashSet
<
usize
,
S
>)
{
//~^ implicit_hasher
let
_
=
[
0u8
;
0
];
let
_
:
HashSet
<usize>
=
HashSet
::
default
();
}