[−][src]Function rustc_mir::transform::check_consts::ops::non_const
pub fn non_const<O: NonConstOp>(ccx: &ConstCx<'_, '_>, op: O, span: Span)
Emits an error if op is not allowed in the given const context.