Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
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
}