Sign in
fuchsia
/
third_party
/
rust
/
bf84eb538fd16743240434b3e837b36c35719fee
/
.
/
src
/
test
/
ui
/
issues
/
issue-65284-suggest-generic-trait-bound.rs
blob: 018ce0459fd6f21794251af2a8bf3aab56bf31f4 [
file
] [
log
] [
blame
]
trait
Foo
{
fn
foo
(&
self
);
}
trait
Bar
{}
fn
do_stuff
<
T
:
Bar
>(
t
:
T
)
{
t
.
foo
()
//~ ERROR no method named `foo` found
}
fn
main
()
{}