Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
6d71251cf9e40326461f90f8ff9a7024706aea87
/
.
/
tests
/
ui
/
const-generics
/
float-generic.simple.stderr
blob: abc5e7c5a9926123a4be2d87dad043d6f16389e5 [
file
] [
log
] [
blame
]
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