summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/check_unused.rs
AgeCommit message (Expand)AuthorLines
2025-07-26resolve: Minimize borrow scopes for `resolutions`Vadim Petrochenkov-3/+1
2025-07-12replace binding and shadowed_glob on NameResolution with non_glob_binding and...b-naber-1/+1
2025-06-06deduplicate more `walk_*` methods in AST visitDeadbeef-25/+28
2025-06-03Rollup merge of #141741 - nnethercote:overhaul-UsePath, r=petrochenkovMatthias Krüger-3/+4
2025-06-03Overhaul `UsePath`.Nicholas Nethercote-3/+4
2025-06-02Fix false positive lint error from no_implicit_prelude attryukang-0/+10
2025-05-29Use `cfg_attr` AST placeholder AST `cfg_attr_trace` for diagnosticsEsteban Küber-0/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-2/+2
2025-03-24Fix autofix for `self` and `self as …` in `unused_imports` lintSamuel Tardieu-1/+2
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-10-16compiler: use `is_none_or` where it is clearly betterJubilee Young-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-09-12Introduce `'ra` lifetime name.Nicholas Nethercote-4/+4
2024-08-10rm `import.used`bohan-3/+3
2024-08-07make `import.vis` is not mutablebohan-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+6
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-6/+6
2024-05-21Make early lints translatableXiretza-23/+11
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-7/+8
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-16/+7
2024-05-19fix typoPietro Albini-6/+6
2024-04-14 remove braces when fixing a nested use tree into a single usePietro Albini-1/+26
2024-04-14store the span of the nested part of the use tree in the astPietro Albini-3/+3
2024-04-14turn all_nested_unused into used_childsPietro Albini-5/+5
2024-04-14remove redundant flat vs nested distinction to simplify enumPietro Albini-19/+10
2024-04-14add enum variant field names to make the code clearerPietro Albini-13/+13
2024-03-14fixes #121331surechen-4/+56
2024-03-06Fix redundant import errors for preload extern crateyukang-69/+77
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-4/+4
2024-02-18By tracking import use types to check whether it is scope uses or the other s...surechen-10/+36
2024-02-13Bump `indexmap`clubby789-1/+2
2024-01-21exclude unexported macro bindings from extern cratebohan-2/+2
2024-01-11Rollup merge of #119788 - mj10021:issue-119787-fix, r=oli-obkMatthias Krüger-1/+1
2024-01-09change function name in commentsmj10021-1/+1
2023-10-26Rollup merge of #116905 - Fenex:refactor/compiler/resolve, r=petrochenkovMatthias Krüger-11/+10
2023-10-22use visibility to check unused imports and delete some stmtsbohan-4/+1
2023-10-19refactor(compiler/resolve): simplify some codeVitaliy Busko-11/+10
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-1/+1
2023-07-19Make it clearer that edition functions are >=, not ==Michael Goulet-1/+1
2023-05-24Use `is_some_and`/`is_ok_and` in less obvious spotsMaybe Waffle-9/+4
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-04-09Migrate `sess.opts.tests` uses to `sess.is_test_crate()`blyxyas-1/+1
2023-03-22Move useless_anynous_reexport lint into unused_importsGuillaume Gomez-2/+40
2023-02-25Address review.Camille GILLOT-10/+6
2023-02-22Remove some resolver outputs.Camille GILLOT-1/+0
2023-02-22Move the unused extern crate check back to the resolver.Camille GILLOT-13/+125
2023-02-20Prepare for adding a `TyCtxt` to `Resolver`Oli Scherer-2/+2
2023-02-14Separate the lifetime of the session and the arena in the resolverOli Scherer-5/+5