about summary refs log tree commit diff
path: root/src/libextra
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-02 13:26:36 -0700
committerbors <bors@rust-lang.org>2013-10-02 13:26:36 -0700
commit371a7ec56959323fd8add557219c4cbcac89825f (patch)
tree891a58dce818a99d94bbc16d326085c38d5728f8 /src/libextra
parent353578a7b36c003da8f5ac818a1554cdb652f9c2 (diff)
parentb7fe83d573d8073f7d663bee5c0b3e1493b9998d (diff)
downloadrust-371a7ec56959323fd8add557219c4cbcac89825f.tar.gz
rust-371a7ec56959323fd8add557219c4cbcac89825f.zip
auto merge of #9675 : sfackler/rust/lint, r=alexcrichton
Closes #9671
Diffstat (limited to 'src/libextra')
-rw-r--r--src/libextra/getopts.rs5
-rw-r--r--src/libextra/list.rs2
-rw-r--r--src/libextra/semver.rs1
-rw-r--r--src/libextra/terminfo/parm.rs1
-rw-r--r--src/libextra/uuid.rs1
5 files changed, 10 insertions, 0 deletions
diff --git a/src/libextra/getopts.rs b/src/libextra/getopts.rs
index e9ccbbf605a..a997d49fdde 100644
--- a/src/libextra/getopts.rs
+++ b/src/libextra/getopts.rs
@@ -85,6 +85,7 @@ use std::vec;
 
 /// Name of an option. Either a string or a single char.
 #[deriving(Clone, Eq)]
+#[allow(missing_doc)]
 pub enum Name {
     Long(~str),
     Short(char),
@@ -92,6 +93,7 @@ pub enum Name {
 
 /// Describes whether an option has an argument.
 #[deriving(Clone, Eq)]
+#[allow(missing_doc)]
 pub enum HasArg {
     Yes,
     No,
@@ -100,6 +102,7 @@ pub enum HasArg {
 
 /// Describes how often an option may occur.
 #[deriving(Clone, Eq)]
+#[allow(missing_doc)]
 pub enum Occur {
     Req,
     Optional,
@@ -141,6 +144,7 @@ pub struct Matches {
 /// The type returned when the command line does not conform to the
 /// expected format. Pass this value to <fail_str> to get an error message.
 #[deriving(Clone, Eq, ToStr)]
+#[allow(missing_doc)]
 pub enum Fail_ {
     ArgumentMissing(~str),
     UnrecognizedOption(~str),
@@ -151,6 +155,7 @@ pub enum Fail_ {
 
 /// The type of failure that occured.
 #[deriving(Eq)]
+#[allow(missing_doc)]
 pub enum FailType {
     ArgumentMissing_,
     UnrecognizedOption_,
diff --git a/src/libextra/list.rs b/src/libextra/list.rs
index 5283edbf475..1e494a17913 100644
--- a/src/libextra/list.rs
+++ b/src/libextra/list.rs
@@ -13,12 +13,14 @@
 
 
 #[deriving(Clone, Eq)]
+#[allow(missing_doc)]
 pub enum List<T> {
     Cons(T, @List<T>),
     Nil,
 }
 
 #[deriving(Eq)]
+#[allow(missing_doc)]
 pub enum MutList<T> {
     MutCons(T, @mut MutList<T>),
     MutNil,
diff --git a/src/libextra/semver.rs b/src/libextra/semver.rs
index fff10533af1..8c7d656f541 100644
--- a/src/libextra/semver.rs
+++ b/src/libextra/semver.rs
@@ -38,6 +38,7 @@ use std::to_str::ToStr;
 /// An identifier in the pre-release or build metadata. If the identifier can
 /// be parsed as a decimal value, it will be represented with `Numeric`.
 #[deriving(Clone, Eq)]
+#[allow(missing_doc)]
 pub enum Identifier {
     Numeric(uint),
     AlphaNumeric(~str)
diff --git a/src/libextra/terminfo/parm.rs b/src/libextra/terminfo/parm.rs
index 81c4b35d8d0..d7944bad5fa 100644
--- a/src/libextra/terminfo/parm.rs
+++ b/src/libextra/terminfo/parm.rs
@@ -39,6 +39,7 @@ enum FormatState {
 
 /// Types of parameters a capability can use
 #[deriving(Clone)]
+#[allow(missing_doc)]
 pub enum Param {
     String(~str),
     Number(int)
diff --git a/src/libextra/uuid.rs b/src/libextra/uuid.rs
index 6da97d8628a..a219b8fb557 100644
--- a/src/libextra/uuid.rs
+++ b/src/libextra/uuid.rs
@@ -116,6 +116,7 @@ struct UuidFields {
 }
 
 /// Error details for string parsing failures
+#[allow(missing_doc)]
 pub enum ParseError {
     ErrorInvalidLength(uint),
     ErrorInvalidCharacter(char, uint),