rustc: Default the ~[] lint to allow for now

Most of the standard distribution is still using ~[] instead of Vec, so this
lint is essentially useless currently. When the standard distribution has been
ported to not use ~[], then we can turn the lint back on.
This commit is contained in:
Alex Crichton 2014-03-19 14:21:42 -07:00
parent 0305ed5d22
commit 7a5a8c3c07
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ static lint_table: &'static [(&'static str, LintSpec)] = &[
LintSpec {
lint: DeprecatedOwnedVector,
desc: "use of a `~[T]` vector",
default: warn
default: allow,
}),
];