]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-typeid-of.stderr
Various minor/cosmetic improvements to code
[rust.git] / src / test / ui / consts / const-typeid-of.stderr
1 error: `std::any::TypeId::of` is not yet stable as a const fn
2   --> $DIR/const-typeid-of.rs:16:26
3    |
4 LL |     const A_ID: TypeId = TypeId::of::<A>();
5    |                          ^^^^^^^^^^^^^^^^^
6    |
7    = help: add `#![feature(const_type_id)]` to the crate attributes to enable
8
9 error: aborting due to previous error
10