Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
missing-trait-bounds
/
issue-35677.fixed
blob: 6be68bb26df155c70c617c00ddd20ac8e221a687 [
file
] [
log
] [
blame
] [
edit
]
//@ run-rustfix
#![allow(dead_code)]
use
std
::
collections
::
HashSet
;
use
std
::
hash
::
Hash
;
fn is_subset
<
T
>(
this
:
&
HashSet
<
T
>,
other
:
&
HashSet
<
T
>)
->
bool
where
T
:
Eq
,
T
:
Hash
{
this
.
is_subset
(
other
)
//~^ ERROR the method
}
fn main
()
{}