Sign in
fuchsia
/
third_party
/
rust
/
b53a1b38089f30a34d932ad4030f3d529664c9df
/
.
/
tests
/
ui
/
const-generics
/
outer-lifetime-in-const-generic-default.rs
blob: de710b0e37d3222411db707e6cab3d3f851effea [
file
] [
log
] [
blame
]
struct
Foo
<
'
a
,
const
N
:
usize
=
{
let
x
:
&
'
a
();
//~^ ERROR generic parameters may not be used in const operations
3
},
>(&
'
a
());
fn
main
()
{}