style: Disallow new undocumented code by default for Servo.

Still a bunch of Gecko-only code to document.
This commit is contained in:
Emilio Cobos Álvarez 2017-01-02 01:01:47 +01:00
parent 939557260c
commit 51134b9dc8
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -26,6 +26,7 @@
#![cfg_attr(feature = "servo", feature(proc_macro))] #![cfg_attr(feature = "servo", feature(proc_macro))]
#![deny(warnings)] #![deny(warnings)]
#![cfg_attr(feature = "servo", deny(missing_docs))]
// FIXME(bholley): We need to blanket-allow unsafe code in order to make the // FIXME(bholley): We need to blanket-allow unsafe code in order to make the
// gecko atom!() macro work. When Rust 1.14 is released [1], we can uncomment // gecko atom!() macro work. When Rust 1.14 is released [1], we can uncomment