Stream: t-compiler/wg-nll

Topic: webrender-and-piston-image fail to build with NLL


nikomatsakis (Jun 05 2018 at 16:03, on Zulip):

According to @Mark Simulacrum on IRC, piston-image and webrender both fail to build with NLL enabled (at least, the versions in rustc-perf). Seems @pnkfelix like something we could investigate.

simulacrum (Jun 05 2018 at 16:05, on Zulip):

error[E0502]: cannot borrow _ as mutable because it is also borrowed as immutable is the error I believe

simulacrum (Jun 05 2018 at 16:50, on Zulip):

filed an issue https://github.com/rust-lang/rust/issues/51372

nikomatsakis (Jun 05 2018 at 16:53, on Zulip):

oh, thanks!

pnkfelix (Jun 05 2018 at 19:20, on Zulip):

i wonder if this is due to the new match guard semantics that NLL has

pnkfelix (Jun 05 2018 at 19:20, on Zulip):

but no, it not pointing at the ident that is used in the match arm guard

nikomatsakis (Jun 05 2018 at 19:21, on Zulip):

(it may well be a legit bugfix tho)

pnkfelix (Jun 05 2018 at 19:22, on Zulip):

maybe. i don't see any smoking guns on the Some(&mut HitTestingRun(ref mut items, prev_clip_and_scroll)) one

Last update: Nov 21 2019 at 14:25UTC