TEST_TARGET_CRATES = $(filter-out core rustc_unicode alloc_system libc \
alloc_jemalloc,$(TARGET_CRATES)) \
collectionstest coretest
-TEST_DOC_CRATES = $(DOC_CRATES) arena flate fmt_macros getopts graphviz
+TEST_DOC_CRATES = $(DOC_CRATES) arena flate fmt_macros getopts graphviz \
+ log
TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \
rustc_trans rustc_lint,\
$(HOST_CRATES))
//! # Examples
//!
//! ```
+//! # #![feature(rustc_private)]
//! #[macro_use] extern crate log;
//!
//! fn main() {
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
html_root_url = "https://doc.rust-lang.org/nightly/",
- html_playground_url = "https://play.rust-lang.org/")]
+ html_playground_url = "https://play.rust-lang.org/",
+ test(attr(deny(warnings))))]
#![deny(missing_docs)]
#![feature(box_syntax)]
/// # Examples
///
/// ```
+/// # #![feature(rustc_private)]
/// #[macro_use] extern crate log;
///
/// fn main() {
/// # Examples
///
/// ```
+/// # #![feature(rustc_private)]
/// #[macro_use] extern crate log;
///
/// fn main() {
/// # Examples
///
/// ```
+/// # #![feature(rustc_private)]
/// #[macro_use] extern crate log;
///
/// fn main() {
/// # Examples
///
/// ```
+/// # #![feature(rustc_private)]
/// #[macro_use] extern crate log;
///
/// fn main() {
/// # Examples
///
/// ```
+/// # #![feature(rustc_private)]
/// #[macro_use] extern crate log;
///
/// fn main() {
/// # Examples
///
/// ```
+/// # #![feature(rustc_private)]
/// #[macro_use] extern crate log;
///
-/// struct Point { x: int, y: int }
+/// struct Point { x: i32, y: i32 }
/// fn some_expensive_computation() -> Point { Point { x: 1, y: 2 } }
///
/// fn main() {