Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
missing-trait-bounds
/
issue-35677.rs
blob: e2d13bbe2f6fb175399cdc8e801edbfbe6834770 [
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
{
this
.
is_subset
(
other
)
//~^ ERROR the method
}
fn
main
()
{}