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