Remove lifetime parameter
This commit is contained in:
parent
a802b9f75f
commit
fc8c280fbc
1 changed files with 2 additions and 4 deletions
|
@ -44,10 +44,8 @@ impl MirDebugScope {
|
||||||
|
|
||||||
/// Produce DIScope DIEs for each MIR Scope which has variables defined in it.
|
/// Produce DIScope DIEs for each MIR Scope which has variables defined in it.
|
||||||
/// If debuginfo is disabled, the returned vector is empty.
|
/// If debuginfo is disabled, the returned vector is empty.
|
||||||
pub fn create_mir_scopes<'tcx>(
|
pub fn create_mir_scopes(fcx: &FunctionContext, mir: &Mir)
|
||||||
fcx: &FunctionContext,
|
-> IndexVec<VisibilityScope, MirDebugScope> {
|
||||||
mir: &'tcx Mir<'tcx>,
|
|
||||||
) -> IndexVec<VisibilityScope, MirDebugScope> {
|
|
||||||
let null_scope = MirDebugScope {
|
let null_scope = MirDebugScope {
|
||||||
scope_metadata: ptr::null_mut(),
|
scope_metadata: ptr::null_mut(),
|
||||||
file_start_pos: BytePos(0),
|
file_start_pos: BytePos(0),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue