Function rustc::middle::trans::debuginfo::start_emitting_source_locations[src]

pub fn start_emitting_source_locations(fcx: &FunctionContext)

Enables emitting source locations for the given functions.

Since we don't want source locations to be emitted for the function prelude, they are disabled when beginning to translate a new function. This functions switches source location emitting on and must therefore be called before the first real statement/expression of the function is translated.