Sign in
android
/
toolchain
/
rustc
/
54272acac043c1dedfb7db7420545b31ec1ac51f
/
.
/
src
/
test
/
ui
/
const-generics
/
const_evaluatable_checked
/
division.rs
blob: 71a5f2d3472013d457b6b623159c1313c5266c49 [
file
] [
log
] [
blame
]
// run-pass
#![
feature
(
const_generics
,
const_evaluatable_checked
)]
#![
allow
(
incomplete_features
)]
fn
with_bound
<
const
N
:
usize
>()
where
[
u8
;
N
/
2
]:
Sized
{
let
_
:
[
u8
;
N
/
2
]
=
[
0
;
N
/
2
];
}
fn
main
()
{
with_bound
::<
4
>();
}