Module rustc_mir::const_eval::fn_queries[−][src]

Functions

Whether the def_id counts as const fn in your current crate, considering all active feature gates

Checks whether the function has a const modifier or, in case it is an intrinsic, whether said intrinsic has a rustc_const_{un,}stable attribute.

Checks whether the given item is an impl that has a const modifier.

Whether the def_id is an unstable const fn and what feature gate is necessary to enable it