Rollup merge of #44326 - Eh2406:FIXME#44590, r=arielb1

#33490 is closed remove the FIXME

let's see if this can be cleaned up.

https://github.com/rust-lang/rust/issues/33490#issuecomment-326851930
This commit is contained in:
Mark Simulacrum 2017-09-06 18:27:58 -06:00 committed by GitHub
commit 43d20c7abd

View 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