Hello,
As seamonkey is not available in FreeBSD ports, I have tried to build
2.53.1 from sources.
gmake -f client.mk build aborts with following rust (rust 1.38) error:
error[E0506]: cannot assign to `self.input.cached_token` because it is
borrowed
-->
/root/seamonkey/seamonkey-2.53.1b1/mozilla/third_party/rust/cssparser/src/parser.rs:388:17
|
364 | pub fn next_including_whitespace_and_comments(&mut self) ->
Result<&Token<'i>, BasicParseError<'i>> {
| - let's call the
lifetime of this reference `'1`
...
377 | Some(ref cached_token) if cached_token.start_position
== token_start_position => {
| ---------------- borrow of
`self.input.cached_token` occurs here
...
388 | self.input.cached_token = Some(CachedToken {
| ^^^^^^^^^^^^^^^^^^^^^^^ assignment to borrowed
`self.input.cached_token` occurs here
...
400 | Ok(token)
| --------- returning this value requires that
`self.input.cached_token.0` is borrowed for `'1`
How can I fix this issue to build Seamonkey on FreeBSD ? I have found
some patches to fix this error but no one seems to works.
Best regards,
JKB
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey