Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-17758.rs
blob: d0dbd3455df782b34c871696b1c2a337fa937bb2 [
file
] [
log
] [
blame
]
// Test that regionck suggestions in a provided method of a trait
// don't ICE
trait
Foo
<
'
a
>
{
fn
foo
(&
'
a
self
);
fn
bar
(&
self
)
{
self
.
foo
();
//~^ ERROR cannot infer
}
}
fn
main
()
{}