# Function rustc_const_eval::util::caller_location::alloc_caller_location

source ·

    fn alloc_caller_location<'mir, 'tcx>(
        ecx: &mut InterpCx<'mir, 'tcx, CompileTimeInterpreter<'mir, 'tcx>>,
        filename: Symbol,
        line: u32,
        col: u32
    ) -> MPlaceTy<'tcx>

Expand description

Allocate a `const core::panic::Location` with the provided filename and line/column numbers.