On nightly-2018-02-13 16362c7, RUSTFLAGS=-Zborrowck=mir cargo build causes the first error below and RUSTFLAGS=-Znll cargo build --all-features causes the second one. I don’t know if they’re related.
Compiling serde v1.0.27 (file:///home/simon/projects/servo-deps/serde/serde)
error[E0505]: cannot move out of `self` because it is borrowed
--> serde/src/private/de.rs:1152:22
|
1151 | Content::Map(ref v) if v.is_empty() => visitor.visit_unit(),
| ----- borrow of `self.content.0` occurs here
1152 | _ => self.deserialize_any(visitor),
| ^^^^ move out of `self` occurs here
error: aborting due to previous error
error: Could not compile `serde`.
error: internal compiler error: unresolved type in dtorck
error: aborting due to previous error
error: Could not compile `serde`.
CC @nikomatsakis
On
nightly-2018-02-1316362c7,RUSTFLAGS=-Zborrowck=mir cargo buildcauses the first error below andRUSTFLAGS=-Znll cargo build --all-featurescauses the second one. I don’t know if they’re related.CC @nikomatsakis