Closed
Description
The error span points at the start of the expression, rather than the subexpression associated with the method call. Probably not a common issue, but I'm sorting through several hundred errors like the one below during this Rust upgrade, and it certainly doesn't speed up the process when I have to figure out which get
(or borrow
) call it was in our often-lengthy chains of get
/borrow
calls.
/Users/larsberg/servo/src/components/main/layout/block.rs:1640:9: 1640:30 error: type `sync::arc::Arc<style::properties::ComputedValues>` does not implement any method in scope named `get`
/Users/larsberg/servo/src/components/main/layout/block.rs:1640 self.box_.style.get().Box.get().position
^~~~~~~~~~~~~~~~~~~~~