Sign in
fuchsia
/
third_party
/
rust
/
8c93798e9f80d6d6ed9a2ab4b01af06a8fea23b7
/
.
/
src
/
test
/
ui
/
nll
/
issue-55394.rs
blob: 4a83c33239c191529122e3b7727ba3bc3ca13654 [
file
] [
log
] [
blame
]
#![
feature
(
nll
)]
struct
Bar
;
struct
Foo
<
'
s
>
{
bar
:
&
'
s
mut
Bar
,
}
impl
Foo
<
'
_
>
{
fn
new
(
bar
:
&
mut
Bar
)
->
Self
{
Foo
{
bar
}
//~ ERROR unsatisfied lifetime constraints
}
}
fn
main
()
{
}