Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
const-generics
/
generic_const_exprs
/
cannot-convert-refree-ice-114463.rs
blob: 50081799697837f05f840e04c31376be2c12d29e [
file
]
// issue: rust-lang/rust#114463
// ICE cannot convert `ReFree ..` to a region vid
#![
feature
(
generic_const_exprs
)]
fn
bug
<
'
a
>()
{
[();
(|
_
:
&
'
a u8
|
(),
0
).
1
];
//~^ ERROR cannot capture late-bound lifetime in constant
}
pub
fn
main
()
{}