Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
consts
/
const-typeid-of.rs
blob: 3829c481da8378c9195bbcc0dc18b1e0a0ba736b [
file
] [
log
] [
blame
]
use
std
::
any
::
TypeId
;
struct
A
;
fn
main
()
{
const
A_ID
:
TypeId
=
TypeId
::
of
::<
A
>();
//~^ ERROR `std::any::TypeId::of` is not yet stable as a const fn
}