Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
float-generic.simple.stderr
blob: abc5e7c5a9926123a4be2d87dad043d6f16389e5 [
file
] [
log
] [
blame
] [
edit
]
error
:
`f32`
is
forbidden
as
the type of a
const
generic
parameter
-->
$DIR
/
float
-
generic
.
rs
:
7
:
17
|
LL
|
fn foo
<
const
F
:
f32
>()
{}
|
^^^
|
=
note
:
the only supported types are integers
,
`bool`
,
and
`char`
error
:
aborting due to
1
previous error