Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
34f7f55e7aad1cedbddf6fecb4f293377d0cfd1d
/
.
/
src
/
test
/
ui
/
issues
/
issue-21160.rs
blob: 46733566cf383e1f503ede63effa69502bf8074e [
file
] [
log
] [
blame
]
struct
Bar
;
impl
Bar
{
fn
hash
<
T
>(&
self
,
_
:
T
)
{}
}
#[
derive
(
Hash
)]
struct
Foo
(
Bar
);
//~^ error: `Bar: std::hash::Hash` is not satisfied
fn
main
()
{}