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:
parent
0305ed5d22
commit
7a5a8c3c07
@ -405,7 +405,7 @@ static lint_table: &'static [(&'static str, LintSpec)] = &[
|
||||
LintSpec {
|
||||
lint: DeprecatedOwnedVector,
|
||||
desc: "use of a `~[T]` vector",
|
||||
default: warn
|
||||
default: allow,
|
||||
}),
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user