Skip to content

Commit 7a5a8c3

Browse files
committed
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.
1 parent 0305ed5 commit 7a5a8c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/lint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static lint_table: &'static [(&'static str, LintSpec)] = &[
405405
LintSpec {
406406
lint: DeprecatedOwnedVector,
407407
desc: "use of a `~[T]` vector",
408-
default: warn
408+
default: allow,
409409
}),
410410
];
411411

0 commit comments

Comments
 (0)