Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
issues
/
issue-19097.rs
blob: c800e0bd12a08b100024e99e24e2f1b2a9d39132 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
allow
(
dead_code
)]
// regression test for #19097
struct
Foo
<
T
>(
T
);
impl
<
'a, T> Foo<&'
a T
>
{
fn
foo
(&
self
)
{}
}
impl
<
'a, T> Foo<&'
a
mut
T
>
{
fn
foo
(&
self
)
{}
}
fn
main
()
{}