mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
11403357f2
a/dialog-1.3_20200228-x86_64-1.txz: Upgraded. l/Mako-1.1.2-x86_64-1.txz: Upgraded. l/imagemagick-7.0.9_27-x86_64-1.txz: Upgraded. l/libcap-2.33-x86_64-1.txz: Upgraded. n/bind-9.16.0-x86_64-2.txz: Rebuilt. rc.bind: ensure /var/run/named exists before starting named. Thanks to MarcT. rc.bind: when stopping named, only kill processes in the current namespace. x/libevdev-1.9.0-x86_64-1.txz: Upgraded. x/wayland-protocols-1.20-noarch-1.txz: Upgraded. xap/seamonkey-2.53.1-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.seamonkey-project.org/releases/seamonkey2.53.1 (* Security fix *) testing/packages/PAM/libcap-2.33-x86_64-1_pam.txz: Upgraded.
24 lines
935 B
Diff
24 lines
935 B
Diff
# rust-1.39 deprecated the "try!" call in favor of "?" which then breaks
|
|
# nsstring because it treats warnings as errors.
|
|
|
|
diff -Nrup -U 8 mozilla/xpcom/rust/nsstring/src/lib.rs mozilla-OK/xpcom/rust/nsstring/src/lib.rs
|
|
--- mozilla/xpcom/rust/nsstring/src/lib.rs 2020-02-25 03:10:53.802918476 +0300
|
|
+++ mozilla-OK/xpcom/rust/nsstring/src/lib.rs 2020-02-25 00:30:21.593463335 +0300
|
|
@@ -108,17 +108,16 @@
|
|
//! similar to an `ns[C]String<'static>`, however, it does not have a `Drop`
|
|
//! implementation.
|
|
//!
|
|
//! If this type is dropped in rust, it will not free its backing storage. This
|
|
//! can be useful when implementing FFI types which contain `ns[C]String` members
|
|
//! which invoke their member's destructors through C++ code.
|
|
|
|
#![allow(non_camel_case_types)]
|
|
-#![deny(warnings)]
|
|
|
|
#[macro_use]
|
|
extern crate bitflags;
|
|
|
|
use std::ops::{Deref, DerefMut};
|
|
use std::marker::PhantomData;
|
|
use std::borrow;
|
|
use std::slice;
|