aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/fix-rust.patch
blob: d3e6546c102f8da6573f5ec1b1dfee44f3cc3246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
This fixes build errors under recent Rust.

Taken from void linux: https://github.com/void-linux/void-packages/commit/5fb88cfb0a16ceb873d41560ccd8fd863ced9279

--- a/servo/components/style_traits/lib.rs
+++ b/servo/components/style_traits/lib.rs
@@ -9,7 +9,7 @@
 #![crate_name = "style_traits"]
 #![crate_type = "rlib"]
 
-#![deny(unsafe_code, missing_docs)]
+#![deny(unsafe_code)]
 
 extern crate app_units;
 #[macro_use] extern crate bitflags;
--- a/servo/components/style/lib.rs
+++ b/servo/components/style/lib.rs
@@ -23,8 +23,6 @@
 //! [cssparser]: ../cssparser/index.html
 //! [selectors]: ../selectors/index.html
 
-#![deny(missing_docs)]
-
 extern crate app_units;
 extern crate arrayvec;
 extern crate atomic_refcell;