Sign in
fuchsia
/
third_party
/
rust
/
2c4bf249bd47f232de3c1e78ffe69b40c29bfcca
/
.
/
tests
/
ui
/
traits
/
issue-79458.rs
blob: a41add6a1ccea775f1a9348fd69848018110cf98 [
file
] [
log
] [
blame
]
// Negative implementations should not be shown in trait suggestions.
// This is a regression test of #79458.
#[
derive
(
Clone
)]
struct
Foo
<
'
a
,
T
>
{
bar
:
&
'
a
mut
T
//~^ ERROR the trait bound `&mut T: Clone` is not satisfied
}
fn
main
()
{}