Skip to content

Commit e0ad0fc

Browse files
committed
Update code with new lint names
1 parent 58dc0a0 commit e0ad0fc

File tree

178 files changed

+265
-265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+265
-265
lines changed

src/libarena/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
html_root_url = "http://doc.rust-lang.org/nightly/")]
3030

3131
#![feature(unsafe_destructor)]
32-
#![allow(missing_doc)]
32+
#![allow(missing_docs)]
3333

3434
use std::cell::{Cell, RefCell};
3535
use std::cmp;

src/libcollections/priority_queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
//! }
152152
//! ```
153153
154-
#![allow(missing_doc)]
154+
#![allow(missing_docs)]
155155

156156
use core::prelude::*;
157157

src/libcollections/slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub use core::slice::{Found, NotFound};
108108

109109
// Functional utilities
110110

111-
#[allow(missing_doc)]
111+
#[allow(missing_docs)]
112112
pub trait VectorVector<T> {
113113
// FIXME #5898: calling these .concat and .connect conflicts with
114114
// StrVector::con{cat,nect}, since they have generic contents.

src/libcollections/smallintmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! A simple map based on a vector for small integer keys. Space requirements
1212
//! are O(highest integer key).
1313
14-
#![allow(missing_doc)]
14+
#![allow(missing_docs)]
1515

1616
use core::prelude::*;
1717

src/libcore/failure.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
//! one function. Currently, the actual symbol is declared in the standard
2929
//! library, but the location of this may change over time.
3030
31-
#![allow(dead_code, missing_doc)]
31+
#![allow(dead_code, missing_docs)]
3232

3333
use fmt;
3434
use intrinsics;
@@ -57,7 +57,7 @@ fn fail_bounds_check(file_line: &(&'static str, uint),
5757

5858
#[cold] #[inline(never)]
5959
pub fn fail_fmt(fmt: &fmt::Arguments, file_line: &(&'static str, uint)) -> ! {
60-
#[allow(ctypes)]
60+
#[allow(improper_ctypes)]
6161
extern {
6262
#[lang = "fail_fmt"]
6363
fn fail_impl(fmt: &fmt::Arguments, file: &'static str,

src/libcore/fmt/float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![allow(missing_doc)]
11+
#![allow(missing_docs)]
1212

1313
use char;
1414
use collections::Collection;

src/libcore/fmt/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! Utilities for formatting and printing strings
1212
13-
#![allow(unused_variable)]
13+
#![allow(unused_variables)]
1414

1515
use any;
1616
use cell::{Cell, Ref, RefMut};
@@ -733,7 +733,7 @@ macro_rules! tuple (
733733
() => ();
734734
( $($name:ident,)+ ) => (
735735
impl<$($name:Show),*> Show for ($($name,)*) {
736-
#[allow(non_snake_case, dead_assignment)]
736+
#[allow(non_snake_case, unused_assignments)]
737737
fn fmt(&self, f: &mut Formatter) -> Result {
738738
try!(write!(f, "("));
739739
let ($(ref $name,)*) = *self;

src/libcore/fmt/num.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
// FIXME: #6220 Implement floating point formatting
1414

15-
#![allow(unsigned_negate)]
15+
#![allow(unsigned_negation)]
1616

1717
use collections::Collection;
1818
use fmt;

src/libcore/intrinsics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ A quick refresher on memory ordering:
4242
*/
4343

4444
#![experimental]
45-
#![allow(missing_doc)]
45+
#![allow(missing_docs)]
4646

4747
pub type GlueFn = extern "Rust" fn(*const i8);
4848

src/libcore/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
#![allow(unknown_features)]
6161
#![feature(globs, intrinsics, lang_items, macro_rules, phase)]
6262
#![feature(simd, unsafe_destructor, slicing_syntax)]
63-
#![deny(missing_doc)]
63+
#![deny(missing_docs)]
6464

6565
mod macros;
6666

0 commit comments

Comments
 (0)