diff options
| author | bors <bors@rust-lang.org> | 2018-12-22 10:23:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-22 10:23:57 +0000 |
| commit | 19c7885c2a197be4a14fb6ca4dcd8734ce17d399 (patch) | |
| tree | 4c899400c2701fb04f284b68d39136c7ac8f484e /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | d3c747c752ba6255848f29826bd8d46d4a075f18 (diff) | |
| parent | d395d45ca753099c2ff952604169a1602eae898a (diff) | |
| download | rust-19c7885c2a197be4a14fb6ca4dcd8734ce17d399.tar.gz rust-19c7885c2a197be4a14fb6ca4dcd8734ce17d399.zip | |
Auto merge of #3570 - muth:master, r=phansch
panic at map_unit_fn.rs:202 for map() without args map_unit_fn.rs accessed map() arguments before type check which ensures type is Option or Result. Boiled it down to a simple test case. FWIW: Found this panic when running clippy against code which used a gtk::Window's map() fn inherited from gtk::WidgetExt http://gtk-rs.org/docs/gtk/trait.WidgetExt.html#tymethod.map
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
