Lifetime variance fixes for rustc
This commit is contained in:
@@ -14,7 +14,7 @@ use super::*;
|
||||
///
|
||||
/// This is the `Body` that will be used by the `MockAnalysis` below. The shape of its CFG is not
|
||||
/// important.
|
||||
fn mock_body() -> mir::Body<'static> {
|
||||
fn mock_body<'tcx>() -> mir::Body<'tcx> {
|
||||
let source_info = mir::SourceInfo::outermost(DUMMY_SP);
|
||||
|
||||
let mut blocks = IndexVec::new();
|
||||
|
||||
Reference in New Issue
Block a user