diff options
| author | blyxyas <blyxyas@gmail.com> | 2024-04-29 15:44:51 +0200 |
|---|---|---|
| committer | blyxyas <blyxyas@gmail.com> | 2024-04-29 15:57:09 +0200 |
| commit | d31b7db8e46857853cc722de0158e73e16b09ed9 (patch) | |
| tree | d60d5cfd22f8d1b5259a18a8115e89f12face362 /compiler/rustc_driver_impl/src | |
| parent | 90846015cc99aa90290c1f4ee95c571fff6901ef (diff) | |
[Refactor] Rename Lint and LintGroup\'s is_loaded to is_externally_loaded
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index b3cba4dbfc2..c1007ccd8e9 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -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); |
