Remove rustc_lint_defs::lint_array
This commit is contained in:
parent
c01d8d238c
commit
f1b7484160
11 changed files with 23 additions and 36 deletions
|
@ -111,7 +111,7 @@ macro_rules! declare_combined_late_lint_pass {
|
|||
}
|
||||
}
|
||||
|
||||
$v fn get_lints() -> $crate::LintArray {
|
||||
$v fn get_lints() -> $crate::LintVec {
|
||||
let mut lints = Vec::new();
|
||||
$(lints.extend_from_slice(&$pass::get_lints());)*
|
||||
lints
|
||||
|
@ -226,7 +226,7 @@ macro_rules! declare_combined_early_lint_pass {
|
|||
}
|
||||
}
|
||||
|
||||
$v fn get_lints() -> $crate::LintArray {
|
||||
$v fn get_lints() -> $crate::LintVec {
|
||||
let mut lints = Vec::new();
|
||||
$(lints.extend_from_slice(&$pass::get_lints());)*
|
||||
lints
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue