closure/FnMut type mismatch using box (HEAP) ...
that does not occur with box ...
#22043
Labels
box (HEAP) ...
that does not occur with box ...
#22043
In the program below, using
--cfg works1
or--cfg works2
both compile and run successfully, but--cfg breaks
produces a type mismatch error.Not clear on how to fix this or what is actually happening, but it might be blocking the placement overloaded-
box
desguaring work (rust-lang/rfcs#809)Transcript of error with
--cfg breaks
, from http://is.gd/NgHq2k :The text was updated successfully, but these errors were encountered: