Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
src
/
test
/
ui
/
suggestions
/
impl-trait-with-missing-trait-bounds-in-arg.rs
blob: cd05b77386192270daceb3718bf12e4ec9863124 [
file
] [
log
] [
blame
]
// run-rustfix
trait
Foo
{}
trait
Bar
{
fn
hello
(&
self
)
{}
}
struct
S
;
impl
Foo
for
S
{}
impl
Bar
for
S
{}
fn
test
(
foo
:
impl
Foo
)
{
foo
.
hello
();
//~ ERROR E0599
}
fn
main
()
{
test
(
S
);
}