Sign in
fuchsia
/
third_party
/
rust
/
e62436333eb4c3d98c23f1a0478e35a843cc4b95
/
.
/
src
/
test
/
ui
/
lazy_normalization_consts
/
feature-gate-lazy_normalization_consts.rs
blob: 44cb74815c6a04555c3a091281fd04275e7383ce [
file
] [
log
] [
blame
]
pub
const
fn
sof
<
T
>()
->
usize
{
10
}
fn
test
<
T
>()
{
let
_
:
[
u8
;
sof
::<
T
>()];
//~^ ERROR the size for values of type `T`
}
fn
main
()
{}