Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
const-generics
/
generic_const_exprs
/
issue-89851.rs
blob: f93ba30856dcb71c8a9a9e63a9db7d9638573b7b [
file
] [
log
] [
blame
]
//@ check-pass
// (this requires debug assertions)
#![
feature
(
adt_const_params
,
unsized_const_params
)]
#![
allow
(
incomplete_features
)]
pub
const
BAR
:
()
=
ice
::<
""
>();
pub
const
fn
ice
<
const
N
:
&
'
static
str
>()
{
&
10
;
}
fn
main
()
{}