about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/check_unused.rs
AgeCommit message (Expand)AuthorLines
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
2023-01-19Use UnordMap instead of FxHashMap in define_id_collections!().Michael Woerister-5/+5
2022-10-31resolve: Not all imports have their own `NodeId`Vadim Petrochenkov-4/+4
2022-09-27rustc_typeck to rustc_hir_analysislcnr-1/+1
2022-08-27rustc_middle: Remove `Visibility::Invisible`Vadim Petrochenkov-1/+1
2022-06-14Make ResolverAstLowering a struct.Camille GILLOT-1/+0
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-17Omit unnecessary help to add `#[cfg(test)]` when already annotatedKen Matsui-14/+21
2022-04-05span: move `MultiSpan`David Wood-2/+2
2021-12-16suggest adding a `#[cfg(test)]` to test modulesTakayuki Maeda-1/+19
2021-11-09Add `ty::Visibility::is_public()`inquisitivecrystal-2/+1
2021-08-22Stop tracking namespce in used_imports.Mara Bos-2/+1
2021-08-12Include attributes in removal span for unused imports.Mara Bos-1/+1
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-1/+1
2020-08-30mv compiler to compiler/mark-0/+328