]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-typeid-of.stderr
Rollup merge of #55280 - vlad20012:add-libproc_macro-to-src-disrt, r=Mark-Simulacrum
[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: in Nightly builds, add `#![feature(const_type_id)]` to the crate attributes to enable
8
9 error: aborting due to previous error
10