Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-21160.rs
blob: 0199abbd8f04ad688a67866680f8683a1c17298f [
file
] [
log
] [
blame
]
// ignore-x86 FIXME: missing sysroot spans (#53081)
struct
Bar
;
impl
Bar
{
fn
hash
<
T
>(&
self
,
_
:
T
)
{}
}
#[
derive
(
Hash
)]
struct
Foo
(
Bar
);
//~^ error: `Bar: std::hash::Hash` is not satisfied
fn
main
()
{}