]> git.lizzy.rs Git - rust.git/commitdiff
Fix test
authorAaron Hill <aa1ronham@gmail.com>
Wed, 10 Jun 2020 22:39:05 +0000 (18:39 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Wed, 10 Jun 2020 22:39:05 +0000 (18:39 -0400)
src/librustc_mir/dataflow/framework/tests.rs

index 3ed0a9594e7d5e57592ed53abeaa1caa39705b12..9349f5133a55db43b2e41e46e708e6d980645c2f 100644 (file)
@@ -41,6 +41,7 @@ fn mock_body() -> mir::Body<'static> {
             destination: Some((dummy_place.clone(), mir::START_BLOCK)),
             cleanup: None,
             from_hir_call: false,
+            fn_span: DUMMY_SP,
         },
     );
     block(3, mir::TerminatorKind::Return);
@@ -53,6 +54,7 @@ fn mock_body() -> mir::Body<'static> {
             destination: Some((dummy_place.clone(), mir::START_BLOCK)),
             cleanup: None,
             from_hir_call: false,
+            fn_span: DUMMY_SP,
         },
     );