1
Fork 0

auto merge of #13162 : alexcrichton/rust/attr-syntax, r=brson

This is the rebasing of #13068 with a fix for #13067 as the first commit.
This commit is contained in:
bors 2014-03-28 17:16:48 -07:00
commit ff733c767a
331 changed files with 706 additions and 663 deletions

View file

@ -8,11 +8,11 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[crate_type = "bin"]; #![crate_type = "bin"]
#[feature(phase)]; #![feature(phase)]
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
#[deny(warnings)]; #![deny(warnings)]
extern crate test; extern crate test;
extern crate getopts; extern crate getopts;

View file

@ -15,15 +15,15 @@
//! of individual objects while the arena itself is still alive. The benefit //! of individual objects while the arena itself is still alive. The benefit
//! of an arena is very fast allocation; just a pointer bump. //! of an arena is very fast allocation; just a pointer bump.
#[crate_id = "arena#0.10-pre"]; #![crate_id = "arena#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[allow(missing_doc)]; #![allow(missing_doc)]
#[feature(managed_boxes)]; #![feature(managed_boxes)]
extern crate collections; extern crate collections;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(missing_doc)]; #![allow(missing_doc)]
use std::cmp; use std::cmp;

View file

@ -12,15 +12,15 @@
* Collection types. * Collection types.
*/ */
#[crate_id = "collections#0.10-pre"]; #![crate_id = "collections#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[feature(macro_rules, managed_boxes, default_type_params, phase)]; #![feature(macro_rules, managed_boxes, default_type_params, phase)]
extern crate rand; extern crate rand;

View file

@ -10,7 +10,7 @@
//! A priority queue implemented with a binary heap //! A priority queue implemented with a binary heap
#[allow(missing_doc)]; #![allow(missing_doc)]
use std::clone::Clone; use std::clone::Clone;
use std::mem::{move_val_init, init, replace, swap}; use std::mem::{move_val_init, init, replace, swap};

View file

@ -13,7 +13,7 @@
* are O(highest integer key). * are O(highest integer key).
*/ */
#[allow(missing_doc)]; #![allow(missing_doc)]
use std::iter::{Enumerate, FilterMap, Rev}; use std::iter::{Enumerate, FilterMap, Rev};
use std::mem::replace; use std::mem::replace;

View file

@ -14,15 +14,15 @@ Simple compression
*/ */
#[crate_id = "flate#0.10-pre"]; #![crate_id = "flate#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[feature(phase)]; #![feature(phase)]
#[deny(deprecated_owned_vector)]; #![deny(deprecated_owned_vector)]
#[cfg(test)] #[phase(syntax, link)] extern crate log; #[cfg(test)] #[phase(syntax, link)] extern crate log;

View file

@ -39,16 +39,16 @@ fn main() {
*/ */
#[crate_id = "fourcc#0.10-pre"]; #![crate_id = "fourcc#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[deny(deprecated_owned_vector)]; #![deny(deprecated_owned_vector)]
#[feature(macro_registrar, managed_boxes)]; #![feature(macro_registrar, managed_boxes)]
extern crate syntax; extern crate syntax;

View file

@ -76,16 +76,16 @@
//! } //! }
//! ~~~ //! ~~~
#[crate_id = "getopts#0.10-pre"]; #![crate_id = "getopts#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[feature(globs, phase)]; #![feature(globs, phase)]
#[deny(missing_doc)]; #![deny(missing_doc)]
#[deny(deprecated_owned_vector)]; #![deny(deprecated_owned_vector)]
#[cfg(test)] #[phase(syntax, link)] extern crate log; #[cfg(test)] #[phase(syntax, link)] extern crate log;

View file

@ -23,13 +23,13 @@
* `glob`/`fnmatch` functions. * `glob`/`fnmatch` functions.
*/ */
#[crate_id = "glob#0.10-pre"]; #![crate_id = "glob#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
use std::cell::Cell; use std::cell::Cell;
use std::{cmp, os, path}; use std::{cmp, os, path};

View file

@ -184,17 +184,17 @@
//! pool.shutdown(); //! pool.shutdown();
//! ``` //! ```
#[crate_id = "green#0.10-pre"]; #![crate_id = "green#0.10-pre"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
// NB this does *not* include globs, please keep it that way. // NB this does *not* include globs, please keep it that way.
#[feature(macro_rules, phase)]; #![feature(macro_rules, phase)]
#[allow(visible_private_types)]; #![allow(visible_private_types)]
#[cfg(test)] #[phase(syntax, link)] extern crate log; #[cfg(test)] #[phase(syntax, link)] extern crate log;
#[cfg(test)] extern crate rustuv; #[cfg(test)] extern crate rustuv;

View file

@ -10,7 +10,7 @@
// FIXME: this file probably shouldn't exist // FIXME: this file probably shouldn't exist
#[macro_escape]; #![macro_escape]
use std::fmt; use std::fmt;

View file

@ -36,16 +36,16 @@ fn main() {
*/ */
#[crate_id = "hexfloat#0.10-pre"]; #![crate_id = "hexfloat#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[deny(deprecated_owned_vector)]; #![deny(deprecated_owned_vector)]
#[feature(macro_registrar, managed_boxes)]; #![feature(macro_registrar, managed_boxes)]
extern crate syntax; extern crate syntax;

View file

@ -105,16 +105,16 @@ if logging is disabled, none of the components of the log will be executed.
*/ */
#[crate_id = "log#0.10-pre"]; #![crate_id = "log#0.10-pre"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[feature(macro_rules)]; #![feature(macro_rules)]
#[deny(missing_doc, deprecated_owned_vector)]; #![deny(missing_doc, deprecated_owned_vector)]
extern crate sync; extern crate sync;

View file

@ -10,7 +10,7 @@
//! Logging macros //! Logging macros
#[macro_escape]; #![macro_escape]
/// The standard logging macro /// The standard logging macro
/// ///

View file

@ -41,15 +41,15 @@
//! } //! }
//! ``` //! ```
#[crate_id = "native#0.10-pre"]; #![crate_id = "native#0.10-pre"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[deny(unused_result, unused_must_use)]; #![deny(unused_result, unused_must_use)]
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
// NB this crate explicitly does *not* allow glob imports, please seriously // NB this crate explicitly does *not* allow glob imports, please seriously
// consider whether they're needed before adding that feature here (the // consider whether they're needed before adding that feature here (the

View file

@ -190,7 +190,7 @@ impl<T: ToStrRadix + Num + Ord> ToStrRadix for Cmplx<T> {
#[cfg(test)] #[cfg(test)]
mod test { mod test {
#[allow(non_uppercase_statics)]; #![allow(non_uppercase_statics)]
use super::{Complex64, Cmplx}; use super::{Complex64, Cmplx};
use std::num::{Zero,One,Float}; use std::num::{Zero,One,Float};

View file

@ -8,17 +8,17 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[feature(macro_rules)]; #![feature(macro_rules)]
#[crate_id = "num#0.10-pre"]; #![crate_id = "num#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[deny(deprecated_owned_vector)]; #![deny(deprecated_owned_vector)]
extern crate rand; extern crate rand;

View file

@ -62,15 +62,15 @@ println!("{:?}", tuple_ptr)
``` ```
*/ */
#[crate_id = "rand#0.10-pre"]; #![crate_id = "rand#0.10-pre"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[feature(macro_rules, managed_boxes, phase)]; #![feature(macro_rules, managed_boxes, phase)]
#[cfg(test)] #[cfg(test)]
#[phase(syntax, link)] extern crate log; #[phase(syntax, link)] extern crate log;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
pub struct t { pub struct t {
module_asm: ~str, module_asm: ~str,

View file

@ -10,8 +10,8 @@
// Code that generates a test runner to run all the tests in a crate // Code that generates a test runner to run all the tests in a crate
#[allow(dead_code)]; #![allow(dead_code)]
#[allow(unused_imports)]; #![allow(unused_imports)]
use driver::session::Session; use driver::session::Session;
use front::config; use front::config;

View file

@ -18,18 +18,18 @@ This API is completely unstable and subject to change.
*/ */
#[crate_id = "rustc#0.10-pre"]; #![crate_id = "rustc#0.10-pre"]
#[comment = "The Rust compiler"]; #![comment = "The Rust compiler"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[allow(deprecated)]; #![allow(deprecated)]
#[feature(macro_rules, globs, struct_variant, managed_boxes, quote, #![feature(macro_rules, globs, struct_variant, managed_boxes, quote,
default_type_params, phase)]; default_type_params, phase)]
extern crate flate; extern crate flate;
extern crate arena; extern crate arena;

View file

@ -8,8 +8,8 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_uppercase_pattern_statics)]; #![allow(non_uppercase_pattern_statics)]
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use std::c_str::ToCStr; use std::c_str::ToCStr;
use std::cell::RefCell; use std::cell::RefCell;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use std::cast; use std::cast;
use syntax::crateid::CrateId; use syntax::crateid::CrateId;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
//! Validates all used crates and extern libraries and loads their metadata //! Validates all used crates and extern libraries and loads their metadata

View file

@ -10,7 +10,7 @@
// Searching for information from the cstore // Searching for information from the cstore
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use metadata::common::*; use metadata::common::*;
use metadata::cstore; use metadata::cstore;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
// The crate store - a central repo for information collected about external // The crate store - a central repo for information collected about external
// crates and libraries // crates and libraries

View file

@ -10,7 +10,7 @@
// Decoding metadata from a single crate's metadata // Decoding metadata from a single crate's metadata
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use back::svh::Svh; use back::svh::Svh;
use metadata::cstore::crate_metadata; use metadata::cstore::crate_metadata;

View file

@ -10,8 +10,8 @@
// Metadata encoding // Metadata encoding
#[allow(unused_must_use)]; // everything is just a MemWriter, can't fail #![allow(unused_must_use)] // everything is just a MemWriter, can't fail
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use back::svh::Svh; use back::svh::Svh;
use metadata::common::*; use metadata::common::*;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use std::cell::RefCell; use std::cell::RefCell;
use std::os; use std::os;

View file

@ -14,7 +14,7 @@
// tjc note: Would be great to have a `match check` macro equivalent // tjc note: Would be great to have a `match check` macro equivalent
// for some of these // for some of these
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use middle::ty; use middle::ty;

View file

@ -10,8 +10,8 @@
// Type encoding // Type encoding
#[allow(unused_must_use)]; // as with encoding, everything is a no-fail MemWriter #![allow(unused_must_use)] // as with encoding, everything is a no-fail MemWriter
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use std::cell::RefCell; use std::cell::RefCell;
use collections::HashMap; use collections::HashMap;

View file

@ -8,9 +8,9 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
// FIXME: remove this after snapshot, and Results are handled // FIXME: remove this after snapshot, and Results are handled
#[allow(unused_must_use)]; #![allow(unused_must_use)]
use c = metadata::common; use c = metadata::common;
use cstore = metadata::cstore; use cstore = metadata::cstore;

View file

@ -10,7 +10,7 @@
/*! See doc.rs for a thorough explanation of the borrow checker */ /*! See doc.rs for a thorough explanation of the borrow checker */
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use mc = middle::mem_categorization; use mc = middle::mem_categorization;
use middle::ty; use middle::ty;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use middle::const_eval::{compare_const_vals, lookup_const_by_id}; use middle::const_eval::{compare_const_vals, lookup_const_by_id};
use middle::const_eval::{eval_const_expr, const_val, const_bool, const_float}; use middle::const_eval::{eval_const_expr, const_val, const_bool, const_float};

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use metadata::csearch; use metadata::csearch;
use middle::astencode; use middle::astencode;

View file

@ -11,7 +11,7 @@
// A pass that annotates for each loops and functions with the free // A pass that annotates for each loops and functions with the free
// variables that they contain. // variables that they contain.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use middle::resolve; use middle::resolve;
use middle::ty; use middle::ty;

View file

@ -33,7 +33,7 @@
//! modify the Context visitor appropriately. If you're adding lints from the //! modify the Context visitor appropriately. If you're adding lints from the
//! Context itself, span_lint should be used instead of add_lint. //! Context itself, span_lint should be used instead of add_lint.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use driver::session; use driver::session;
use metadata::csearch; use metadata::csearch;

View file

@ -60,7 +60,7 @@
* tied to `x`. The type of `x'` will be a borrowed pointer. * tied to `x`. The type of `x'` will be a borrowed pointer.
*/ */
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use middle::ty; use middle::ty;
use middle::typeck; use middle::typeck;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use driver::session::Session; use driver::session::Session;
use metadata::csearch; use metadata::csearch;

View file

@ -192,7 +192,7 @@
* *
*/ */
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use back::abi; use back::abi;
use driver::session::FullDebugInfo; use driver::session::FullDebugInfo;

View file

@ -23,7 +23,7 @@
// but one TypeRef corresponds to many `ty::t`s; for instance, tup(int, int, // but one TypeRef corresponds to many `ty::t`s; for instance, tup(int, int,
// int) and rec(x=int, y=int, z=int) will have the same TypeRef. // int) and rec(x=int, y=int, z=int) will have the same TypeRef.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use back::link::{mangle_exported_name}; use back::link::{mangle_exported_name};
use back::{link, abi}; use back::{link, abi};

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_uppercase_pattern_statics)]; #![allow(non_uppercase_pattern_statics)]
use lib::llvm::{llvm, Integer, Pointer, Float, Double, Struct, Array}; use lib::llvm::{llvm, Integer, Pointer, Float, Double, Struct, Array};
use lib::llvm::StructRetAttribute; use lib::llvm::StructRetAttribute;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_uppercase_pattern_statics)]; #![allow(non_uppercase_pattern_statics)]
use std::libc::c_uint; use std::libc::c_uint;
use std::cmp; use std::cmp;

View file

@ -11,7 +11,7 @@
// The classification code for the x86_64 ABI is taken from the clay language // The classification code for the x86_64 ABI is taken from the clay language
// https://github.com/jckarter/clay/blob/master/compiler/src/externals.cpp // https://github.com/jckarter/clay/blob/master/compiler/src/externals.cpp
#[allow(non_uppercase_pattern_statics)]; #![allow(non_uppercase_pattern_statics)]
use lib::llvm::{llvm, Integer, Pointer, Float, Double}; use lib::llvm::{llvm, Integer, Pointer, Float, Double};
use lib::llvm::{Struct, Array, Attribute}; use lib::llvm::{Struct, Array, Attribute};

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
//! Code that is useful in various trans modules. //! Code that is useful in various trans modules.

View file

@ -31,7 +31,7 @@
* See doc.rs for more comments. * See doc.rs for more comments.
*/ */
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use back::abi; use back::abi;
use lib::llvm::{ValueRef, llvm}; use lib::llvm::{ValueRef, llvm};

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_uppercase_pattern_statics)]; #![allow(non_uppercase_pattern_statics)]
use arena::TypedArena; use arena::TypedArena;
use lib::llvm::{SequentiallyConsistent, Acquire, Release, Xchg}; use lib::llvm::{SequentiallyConsistent, Acquire, Release, Xchg};

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[macro_escape]; #![macro_escape]
macro_rules! unpack_datum( macro_rules! unpack_datum(
($bcx: ident, $inp: expr) => ( ($bcx: ident, $inp: expr) => (

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use back::abi; use back::abi;
use lib; use lib;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_uppercase_pattern_statics)]; #![allow(non_uppercase_pattern_statics)]
use lib::llvm::{llvm, TypeRef, Bool, False, True, TypeKind}; use lib::llvm::{llvm, TypeRef, Bool, False, True, TypeKind};
use lib::llvm::{Float, Double, X86_FP80, PPC_FP128, FP128}; use lib::llvm::{Float, Double, X86_FP80, PPC_FP128, FP128};

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use middle::trans::adt; use middle::trans::adt;
use middle::trans::common::*; use middle::trans::common::*;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use back::svh::Svh; use back::svh::Svh;
use driver::session::Session; use driver::session::Session;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use middle::pat_util::{PatIdMap, pat_id_map, pat_is_binding, pat_is_const}; use middle::pat_util::{PatIdMap, pat_id_map, pat_is_binding, pat_is_const};
use middle::ty; use middle::ty;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[macro_escape]; #![macro_escape]
macro_rules! if_ok( macro_rules! if_ok(
($inp: expr) => ( ($inp: expr) => (

View file

@ -10,7 +10,7 @@
/*! See doc.rs for documentation */ /*! See doc.rs for documentation */
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
pub use middle::ty::IntVarValue; pub use middle::ty::IntVarValue;
pub use middle::typeck::infer::resolve::resolve_and_force_all_but_regions; pub use middle::typeck::infer::resolve::resolve_and_force_all_but_regions;

View file

@ -59,7 +59,7 @@ independently:
*/ */
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use driver::session; use driver::session;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use syntax::ast; use syntax::ast;
use syntax::codemap::{Span}; use syntax::codemap::{Span};

View file

@ -14,7 +14,7 @@
//! green/native threading. This is just a bare-bones enough solution for //! green/native threading. This is just a bare-bones enough solution for
//! librustdoc, it is not production quality at all. //! librustdoc, it is not production quality at all.
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
pub use self::imp::Lock; pub use self::imp::Lock;

View file

@ -24,7 +24,7 @@
//! // ... something using html //! // ... something using html
//! ``` //! ```
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
use std::cast; use std::cast;
use std::fmt; use std::fmt;

View file

@ -8,13 +8,13 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[crate_id = "rustdoc#0.10-pre"]; #![crate_id = "rustdoc#0.10-pre"]
#[desc = "rustdoc, the Rust documentation extractor"]; #![desc = "rustdoc, the Rust documentation extractor"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[feature(globs, struct_variant, managed_boxes, macro_rules, phase)]; #![feature(globs, struct_variant, managed_boxes, macro_rules, phase)]
extern crate syntax; extern crate syntax;
extern crate rustc; extern crate rustc;

View file

@ -31,7 +31,7 @@
//! This enqueueing is done with a concurrent queue from libstd, and the //! This enqueueing is done with a concurrent queue from libstd, and the
//! signalling is achieved with an async handle. //! signalling is achieved with an async handle.
#[allow(dead_code)]; #![allow(dead_code)]
use std::cast; use std::cast;
use std::rt::local::Local; use std::rt::local::Local;

View file

@ -34,14 +34,14 @@ via `close` and `delete` methods.
*/ */
#[crate_id = "rustuv#0.10-pre"]; #![crate_id = "rustuv#0.10-pre"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[feature(macro_rules)]; #![feature(macro_rules)]
#[deny(unused_result, unused_must_use)]; #![deny(unused_result, unused_must_use)]
#[allow(visible_private_types)]; #![allow(visible_private_types)]
#[cfg(test)] extern crate green; #[cfg(test)] extern crate green;
#[cfg(test)] extern crate realrustuv = "rustuv"; #[cfg(test)] extern crate realrustuv = "rustuv";

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[macro_escape]; #![macro_escape]
use std::fmt; use std::fmt;

View file

@ -18,7 +18,7 @@
//! event loop alive we use uv_ref and uv_unref in order to control when the //! event loop alive we use uv_ref and uv_unref in order to control when the
//! async handle is active or not. //! async handle is active or not.
#[allow(dead_code)]; #![allow(dead_code)]
use std::cast; use std::cast;
use std::libc::{c_void, c_int}; use std::libc::{c_void, c_int};

View file

@ -27,7 +27,7 @@
* the mappings should be added in this module. * the mappings should be added in this module.
*/ */
#[allow(non_camel_case_types)]; // C types #![allow(non_camel_case_types)] // C types
use std::libc::{size_t, c_int, c_uint, c_void, c_char, c_double}; use std::libc::{size_t, c_int, c_uint, c_void, c_char, c_double};
use std::libc::{ssize_t, sockaddr, free, addrinfo}; use std::libc::{ssize_t, sockaddr, free, addrinfo};

View file

@ -28,14 +28,14 @@
//! An example version number with all five components is //! An example version number with all five components is
//! `0.8.1-rc.3.0+20130922.linux`. //! `0.8.1-rc.3.0+20130922.linux`.
#[crate_id = "semver#0.10-pre"]; #![crate_id = "semver#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[deny(deprecated_owned_vector)]; #![deny(deprecated_owned_vector)]
use std::char; use std::char;
use std::cmp; use std::cmp;

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(missing_doc)]; #![allow(missing_doc)]
use std::io; use std::io;
use std::str; use std::str;

View file

@ -11,8 +11,8 @@
// Rust JSON serialization library // Rust JSON serialization library
// Copyright (c) 2011 Google Inc. // Copyright (c) 2011 Google Inc.
#[forbid(non_camel_case_types)]; #![forbid(non_camel_case_types)]
#[allow(missing_doc)]; #![allow(missing_doc)]
/*! /*!
JSON parsing and serialization JSON parsing and serialization

View file

@ -14,14 +14,14 @@
Core encoding and decoding interfaces. Core encoding and decoding interfaces.
*/ */
#[crate_id = "serialize#0.10-pre"]; #![crate_id = "serialize#0.10-pre"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[feature(macro_rules, managed_boxes, default_type_params, phase)]; #![feature(macro_rules, managed_boxes, default_type_params, phase)]
// test harness access // test harness access
#[cfg(test)] #[cfg(test)]

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[doc(hidden)]; #![doc(hidden)]
use ptr; use ptr;
use raw; use raw;

View file

@ -20,7 +20,7 @@ and `Eq` to overload the `==` and `!=` operators.
*/ */
#[allow(missing_doc)]; #![allow(missing_doc)]
/** /**
* Trait for values that can be compared for equality and inequality. * Trait for values that can be compared for equality and inequality.

View file

@ -252,7 +252,7 @@ use sync::arc::UnsafeArc;
pub use comm::select::{Select, Handle}; pub use comm::select::{Select, Handle};
macro_rules! test ( macro_rules! test (
{ fn $name:ident() $b:block $($a:attr)*} => ( { fn $name:ident() $b:block $(#[$a:meta])*} => (
mod $name { mod $name {
#[allow(unused_imports)]; #[allow(unused_imports)];
@ -265,8 +265,8 @@ macro_rules! test (
fn f() $b fn f() $b
$($a)* #[test] fn uv() { f() } $(#[$a])* #[test] fn uv() { f() }
$($a)* #[test] fn native() { $(#[$a])* #[test] fn native() {
use native; use native;
let (tx, rx) = channel(); let (tx, rx) = channel();
native::task::spawn(proc() { tx.send(f()) }); native::task::spawn(proc() { tx.send(f()) });

View file

@ -43,7 +43,7 @@
//! } //! }
//! ``` //! ```
#[allow(dead_code)]; #![allow(dead_code)]
use cast; use cast;
use cell::Cell; use cell::Cell;

View file

@ -14,8 +14,8 @@
//! These definitions are similar to their `ct` equivalents, but differ in that //! These definitions are similar to their `ct` equivalents, but differ in that
//! these can be statically allocated and are slightly optimized for the runtime //! these can be statically allocated and are slightly optimized for the runtime
#[allow(missing_doc)]; #![allow(missing_doc)]
#[doc(hidden)]; #![doc(hidden)]
use fmt::parse; use fmt::parse;
use option::Option; use option::Option;

View file

@ -16,7 +16,7 @@ collector is task-local so `Gc<T>` is not sendable.
*/ */
#[allow(experimental)]; #![allow(experimental)]
use kinds::marker; use kinds::marker;
use clone::Clone; use clone::Clone;

View file

@ -61,7 +61,7 @@
* ``` * ```
*/ */
#[allow(unused_must_use)]; #![allow(unused_must_use)]
use container::Container; use container::Container;
use io::Writer; use io::Writer;

View file

@ -41,7 +41,7 @@ A quick refresher on memory ordering:
*/ */
#[allow(missing_doc)]; #![allow(missing_doc)]
// This is needed to prevent duplicate lang item definitions. // This is needed to prevent duplicate lang item definitions.
#[cfg(test)] #[cfg(test)]

View file

@ -10,7 +10,7 @@
//! Utility mixins that apply to all Readers and Writers //! Utility mixins that apply to all Readers and Writers
#[allow(missing_doc)]; #![allow(missing_doc)]
// FIXME: Not sure how this should be structured // FIXME: Not sure how this should be structured
// FIXME: Iteration should probably be considered separately // FIXME: Iteration should probably be considered separately

View file

@ -208,7 +208,7 @@ responding to errors that may occur while attempting to read the numbers.
*/ */
#[deny(unused_must_use)]; #![deny(unused_must_use)]
use cast; use cast;
use char::Char; use char::Char;

View file

@ -17,7 +17,7 @@ getaddrinfo()
*/ */
#[allow(missing_doc)]; #![allow(missing_doc)]
use io::IoResult; use io::IoResult;
use io::net::ip::{SocketAddr, IpAddr}; use io::net::ip::{SocketAddr, IpAddr};

View file

@ -13,7 +13,7 @@
//! This module contains functions useful for parsing, formatting, and //! This module contains functions useful for parsing, formatting, and
//! manipulating IP addresses. //! manipulating IP addresses.
#[allow(missing_doc)]; #![allow(missing_doc)]
use container::Container; use container::Container;
use fmt; use fmt;

View file

@ -17,7 +17,7 @@
//! A TCP connection implements the `Reader` and `Writer` traits, while the TCP //! A TCP connection implements the `Reader` and `Writer` traits, while the TCP
//! listener (socket server) implements the `Listener` and `Acceptor` traits. //! listener (socket server) implements the `Listener` and `Acceptor` traits.
#[deny(missing_doc)]; #![deny(missing_doc)]
use clone::Clone; use clone::Clone;
use io::IoResult; use io::IoResult;

View file

@ -22,7 +22,7 @@ instances as clients.
*/ */
#[allow(missing_doc)]; #![allow(missing_doc)]
use prelude::*; use prelude::*;

View file

@ -13,7 +13,7 @@
//! Currently these aren't particularly useful, there only exists bindings //! Currently these aren't particularly useful, there only exists bindings
//! enough so that pipes can be created to child processes. //! enough so that pipes can be created to child processes.
#[allow(missing_doc)]; #![allow(missing_doc)]
use prelude::*; use prelude::*;
use io::IoResult; use io::IoResult;

View file

@ -10,7 +10,7 @@
//! Bindings for executing child processes //! Bindings for executing child processes
#[deny(missing_doc)]; #![deny(missing_doc)]
use prelude::*; use prelude::*;

View file

@ -10,7 +10,7 @@
/*! Various utility functions useful for writing I/O tests */ /*! Various utility functions useful for writing I/O tests */
#[macro_escape]; #![macro_escape]
use libc; use libc;
use os; use os;
@ -19,7 +19,7 @@ use std::io::net::ip::*;
use sync::atomics::{AtomicUint, INIT_ATOMIC_UINT, Relaxed}; use sync::atomics::{AtomicUint, INIT_ATOMIC_UINT, Relaxed};
macro_rules! iotest ( macro_rules! iotest (
{ fn $name:ident() $b:block $($a:attr)* } => ( { fn $name:ident() $b:block $(#[$a:meta])* } => (
mod $name { mod $name {
#[allow(unused_imports)]; #[allow(unused_imports)];
@ -43,8 +43,8 @@ macro_rules! iotest (
fn f() $b fn f() $b
$($a)* #[test] fn green() { f() } $(#[$a])* #[test] fn green() { f() }
$($a)* #[test] fn native() { $(#[$a])* #[test] fn native() {
use native; use native;
let (tx, rx) = channel(); let (tx, rx) = channel();
native::task::spawn(proc() { tx.send(f()) }); native::task::spawn(proc() { tx.send(f()) });

View file

@ -43,21 +43,21 @@
//! //!
//! use std::prelude::*; //! use std::prelude::*;
#[crate_id = "std#0.10-pre"]; #![crate_id = "std#0.10-pre"]
#[comment = "The Rust standard library"]; #![comment = "The Rust standard library"]
#[license = "MIT/ASL2"]; #![license = "MIT/ASL2"]
#[crate_type = "rlib"]; #![crate_type = "rlib"]
#[crate_type = "dylib"]; #![crate_type = "dylib"]
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")]
#[feature(macro_rules, globs, asm, managed_boxes, thread_local, link_args, #![feature(macro_rules, globs, asm, managed_boxes, thread_local, link_args,
simd, linkage, default_type_params, phase)]; simd, linkage, default_type_params, phase)]
// Don't link to std. We are std. // Don't link to std. We are std.
#[no_std]; #![no_std]
#[deny(missing_doc)]; #![deny(missing_doc)]
// When testing libstd, bring in libuv as the I/O backend so tests can print // When testing libstd, bring in libuv as the I/O backend so tests can print
// things and all of the std::io tests have an I/O interface to run on top // things and all of the std::io tests have an I/O interface to run on top

View file

@ -62,10 +62,10 @@
* dissolved. * dissolved.
*/ */
#[allow(non_camel_case_types)]; #![allow(non_camel_case_types)]
#[allow(non_uppercase_statics)]; #![allow(non_uppercase_statics)]
#[allow(missing_doc)]; #![allow(missing_doc)]
#[allow(uppercase_variables)]; #![allow(uppercase_variables)]
// Initial glob-exports mean that all the contents of all the modules // Initial glob-exports mean that all the contents of all the modules
// wind up exported, if you're interested in writing platform-specific code. // wind up exported, if you're interested in writing platform-specific code.

View file

@ -14,7 +14,7 @@
//! library. Each macro is available for use when linking against the standard //! library. Each macro is available for use when linking against the standard
//! library. //! library.
#[macro_escape]; #![macro_escape]
/// The entry point for failure of rust tasks. /// The entry point for failure of rust tasks.
/// ///

View file

@ -13,7 +13,7 @@
//! This module contains functions for querying the size and alignment of //! This module contains functions for querying the size and alignment of
//! types, initializing and manipulating memory. //! types, initializing and manipulating memory.
#[allow(missing_doc)]; // FIXME #![allow(missing_doc)] // FIXME
use cast; use cast;
use ptr; use ptr;

View file

@ -8,8 +8,8 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[allow(missing_doc)]; #![allow(missing_doc)]
#[allow(dead_code)]; #![allow(dead_code)]
//! Bindings for the C math library (for basic mathematic functions) //! Bindings for the C math library (for basic mathematic functions)

View file

@ -10,7 +10,7 @@
//! Operations and constants for 32-bits floats (`f32` type) //! Operations and constants for 32-bits floats (`f32` type)
#[allow(missing_doc)]; #![allow(missing_doc)]
use prelude::*; use prelude::*;

View file

@ -10,7 +10,7 @@
//! Operations and constants for 64-bits floats (`f64` type) //! Operations and constants for 64-bits floats (`f64` type)
#[allow(missing_doc)]; #![allow(missing_doc)]
use prelude::*; use prelude::*;

View file

@ -8,8 +8,8 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#[macro_escape]; #![macro_escape]
#[doc(hidden)]; #![doc(hidden)]
macro_rules! assert_approx_eq( macro_rules! assert_approx_eq(
($a:expr, $b:expr) => ({ ($a:expr, $b:expr) => ({

View file

@ -10,7 +10,7 @@
//! Operations and constants for signed 16-bits integers (`i16` type) //! Operations and constants for signed 16-bits integers (`i16` type)
#[allow(non_uppercase_statics)]; #![allow(non_uppercase_statics)]
use prelude::*; use prelude::*;

View file

@ -10,7 +10,7 @@
//! Operations and constants for signed 32-bits integers (`i32` type) //! Operations and constants for signed 32-bits integers (`i32` type)
#[allow(non_uppercase_statics)]; #![allow(non_uppercase_statics)]
use prelude::*; use prelude::*;

View file

@ -10,7 +10,7 @@
//! Operations and constants for signed 64-bits integers (`i64` type) //! Operations and constants for signed 64-bits integers (`i64` type)
#[allow(non_uppercase_statics)]; #![allow(non_uppercase_statics)]
use prelude::*; use prelude::*;

View file

@ -10,7 +10,7 @@
//! Operations and constants for signed 8-bits integers (`i8` type) //! Operations and constants for signed 8-bits integers (`i8` type)
#[allow(non_uppercase_statics)]; #![allow(non_uppercase_statics)]
use prelude::*; use prelude::*;

View file

@ -10,7 +10,7 @@
//! Operations and constants for architecture-sized signed integers (`int` type) //! Operations and constants for architecture-sized signed integers (`int` type)
#[allow(non_uppercase_statics)]; #![allow(non_uppercase_statics)]
use prelude::*; use prelude::*;

Some files were not shown because too many files have changed in this diff Show more