about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/lib.rs
AgeCommit message (Expand)AuthorLines
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+0
2022-05-13resolve: Move collection of all `macro_rules` in the crate to rustdocVadim Petrochenkov-11/+7
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-0/+2
2022-05-05Implement the unused_macro_rules lintest31-0/+2
2022-05-04Stabilize `bool::then_some`Josh Triplett-1/+0
2022-05-03When suggesting to import an item, also suggest changing the path if appropriateEsteban Küber-0/+3
2022-05-02Auto merge of #96431 - petrochenkov:parent, r=cjgillotbors-1/+2
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-1/+2
2022-05-01Auto merge of #96521 - petrochenkov:docrules, r=notriddle,GuillaumeGomezbors-12/+15
2022-05-01resolve: Merge `last_import_segment` into `Finalize`Vadim Petrochenkov-2/+5
2022-05-01resolve: Turn `enum Finalize` into an optional structVadim Petrochenkov-31/+13
2022-05-01rustdoc: Track `macro_rules` scopes during early doc link resolutionVadim Petrochenkov-1/+9
2022-04-30rustdoc: Keep full `ParentScope` during early doc link resolutionVadim Petrochenkov-11/+6
2022-04-30When encountering a binding that could be a const or unit variant, suggest th...Esteban Kuber-4/+4
2022-04-27Auto merge of #91557 - cjgillot:ast-lifetimes-named, r=petrochenkovbors-1/+15
2022-04-27Collect extra lifetime parameters during late resolution.Camille GILLOT-0/+7
2022-04-27Use LifetimeRes during lowering.Camille GILLOT-1/+8
2022-04-23Compute has_pub_restricted in the resolver.Camille GILLOT-0/+5
2022-04-19Rollup merge of #96142 - cjgillot:no-crate-def-index, r=petrochenkovDylan DPC-6/+5
2022-04-17Stop using CRATE_DEF_INDEX.Camille GILLOT-6/+5
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-3/+43
2022-04-17Report undeclared lifetimes on AST.Camille GILLOT-3/+12
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-0/+2
2022-04-12Move diagnostic methods to the dedicated module.Camille GILLOT-465/+4
2022-04-12Pass last_import_segment and unusable_binding as parameters.Camille GILLOT-18/+2
2022-04-12Move ident resolution to a dedicated module.Camille GILLOT-1000/+5
2022-04-07rustdoc: Early doc link resolution fixes and refactoringsVadim Petrochenkov-4/+5
2022-04-05resolve: Fix resolution of empty paths passed from rustdocVadim Petrochenkov-1/+3
2022-04-05Auto merge of #95337 - petrochenkov:doclink3, r=camelidbors-3/+12
2022-03-31Stop emitting lints during lowering.Camille GILLOT-4/+0
2022-03-31Store next_disambiguator in Definitions.Camille GILLOT-12/+1
2022-03-31Remove mutability in ResolverAstLowering.Camille GILLOT-8/+8
2022-03-31rustdoc: Fix resolution of `crate`-relative paths in doc linksVadim Petrochenkov-3/+12
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-25resolve: Rename `CrateLint` to `Finalize`Vadim Petrochenkov-75/+66
2022-03-25resolve: Stop passing unused spans and node ids to path resolution functionsVadim Petrochenkov-89/+72
2022-03-25resolve: Optimize path resolution for rustdocVadim Petrochenkov-59/+16
2022-03-25resolve: Do not build expensive suggestions if they are not actually usedVadim Petrochenkov-209/+192
2022-03-15Auto merge of #94584 - pnkfelix:inject-use-suggestion-sites, r=ekuberbors-55/+50
2022-03-03Adjusted diagnostic output so that if there is no `use` in a item sequence,Felix S. Klock II-53/+48
2022-03-03Associate multiple with a crate too.Felix S. Klock II-2/+2
2022-03-04remove a unnecessary `..` patternTakayuki Maeda-1/+1
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-2/+4
2022-02-25Switch bootstrap cfgsMark Rousskov-1/+1
2022-02-25Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebankbors-4/+4
2022-02-24resolve/metadata: Stop encoding macros as reexportsVadim Petrochenkov-4/+0
2022-02-24resolve: Fix incorrect results of `opt_def_kind` query for some built-in macrosVadim Petrochenkov-0/+8
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-2/+2
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-3/+3
2022-02-19Adopt let else in more placesest31-4/+3