Sign in
fuchsia
/
third_party
/
rust
/
a1c076fa7519a69a7eedbc5c6307e2565a76e9be
/
.
/
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
()
{}