[Refactor] Rename Lint and LintGroup\'s is_loaded to is_externally_loaded
This commit is contained in:
parent
90846015cc
commit
d31b7db8e4
4 changed files with 18 additions and 15 deletions
|
@ -971,7 +971,7 @@ Available lint options:
|
|||
|
||||
let lint_store = unerased_lint_store(sess);
|
||||
let (loaded, builtin): (Vec<_>, _) =
|
||||
lint_store.get_lints().iter().cloned().partition(|&lint| lint.is_loaded);
|
||||
lint_store.get_lints().iter().cloned().partition(|&lint| lint.is_externally_loaded);
|
||||
let loaded = sort_lints(sess, loaded);
|
||||
let builtin = sort_lints(sess, builtin);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue