]> git.lizzy.rs Git - rust.git/commitdiff
#33490 is closed remove the FIXME
authorEh2406 <YeomanYaacov@gmail.com>
Mon, 4 Sep 2017 23:59:16 +0000 (19:59 -0400)
committerEh2406 <YeomanYaacov@gmail.com>
Mon, 4 Sep 2017 23:59:16 +0000 (19:59 -0400)
src/test/run-pass/issue-23338-ensure-param-drop-order.rs

index 9d0612f2a8daa75bdaa2d154be0b6626c3d49604..42c72e647fd2eae18f0f3b4895205b228d8202bd 100644 (file)
@@ -64,8 +64,7 @@ fn test<'a>(log: d::Log<'a>) {
     d::println(&format!("result {}", result));
 }
 
-// FIXME(#33490) Remove the double braces when old trans is gone.
-fn foo<'a>(da0: D<'a>, de1: D<'a>) -> D<'a> {{
+fn foo<'a>(da0: D<'a>, de1: D<'a>) -> D<'a> {
     d::println("entered foo");
     let de2 = de1.incr();      // creates D(de_2, 2)
     let de4 = {
@@ -74,7 +73,7 @@ fn foo<'a>(da0: D<'a>, de1: D<'a>) -> D<'a> {{
     };
     d::println("eval tail of foo");
     de4.incr().incr()          // creates D(de_5, 6) and D(de_6, 7)
-}}
+}
 
 // This module provides simultaneous printouts of the dynamic extents
 // of all of the D values, in addition to logging the order that each