Sign in
fuchsia
/
third_party
/
rust
/
846ea58cd5ae1c8d72e55dd6cf1ee35ffbca3d63
/
.
/
src
/
test
/
ui
/
parser
/
issue-14303-path.rs
blob: a08c89f3437b4be1c97fd7dc65d26077f1fdf808 [
file
] [
log
] [
blame
]
mod
foo
{
pub
struct
X
<
'a, '
b
,
'
c
,
T
>
{
a
:
&
'
a str
,
b
:
&
'
b str
,
c
:
&
'
c str
,
t
:
T
,
}
}
fn
bar
<
'a, '
b
,
'c, T>(x: foo::X<'
a
,
T
,
'b, '
c
>)
{}
//~^ ERROR lifetime parameters must be declared prior to type parameters
fn
main
()
{}