summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/macros.rs
AgeCommit message (Expand)AuthorLines
2024-10-07Rename nested_meta to meta_item_innercodemountains-3/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-15/+12
2024-09-13Auto merge of #129137 - camelid:lazy-def-macro-const, r=BoxyUwUbors-7/+9
2024-09-12Fix anon const def-creation when macros are involvedNoah Lev-7/+9
2024-09-12Introduce `'ra` lifetime name.Nicholas Nethercote-16/+16
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-5/+5
2024-08-08rm `declared_features` field in resolverbohan-1/+2
2024-08-07make `import.vis` is not mutablebohan-4/+23
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-5/+5
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+20
2024-07-06out_of_scope_macro_calls: Detect calls inside attributes more preciselyVadim Petrochenkov-4/+5
2024-06-25Auto merge of #125741 - petrochenkov:atvisord, r=davidtwcobors-9/+71
2024-06-24resolve: Implement a lint for out-of-scope use of `macro_rules`Vadim Petrochenkov-9/+71
2024-06-24Rollup merge of #125241 - Veykril:tool-rust-analyzer, r=davidtwcoMatthias Krüger-3/+4
2024-06-21Add `rust_analyzer` as a predefined toolLukas Wirth-3/+4
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-19/+133
2024-05-22Auto merge of #125326 - weiznich:move/do_not_recommend_to_diganostic_namespac...bors-1/+3
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-6/+6
2024-05-21Make early lints translatableXiretza-1/+4
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-17/+30
2024-05-21Port DeprecatedMacro to diag structsXiretza-5/+3
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-1/+0
2024-05-21Move `#[do_not_recommend]` to the `#[diagnostic]` namespaceGeorg Semmler-1/+3
2024-05-18Auto merge of #125105 - nnethercote:rustc_resolve-cleanups, r=estebankbors-5/+1
2024-05-15Add `on_unimplemented" typo suggestionsmejrs-5/+15
2024-05-10Remove `ordinalize`.Nicholas Nethercote-5/+1
2024-05-03Ensure miri only uses fallback bodies that have manually been vetted to prese...Oli Scherer-1/+1
2024-04-26Introduce `DeriveResolution`.Nicholas Nethercote-8/+8
2024-04-13Migrate more diagnosticsJean CASPAR-33/+28
2024-04-13Migrate some diagnosticsJean CASPAR-9/+5
2024-03-13delay expand macro bang when there has indeterminate pathbohan-34/+51
2024-03-11Remove `Default` derive from `MacroExpectedFound`.Nicholas Nethercote-1/+2
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+2
2024-02-18By tracking import use types to check whether it is scope uses or the other s...surechen-2/+2
2024-01-29Supress unhelpful diagnostics for unresolved top level attributesyukang-17/+15
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-1/+1
2024-01-13Auto merge of #119945 - matthiaskrgr:rollup-oy3e1j2, r=matthiaskrgrbors-1/+1
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-7/+1
2024-01-13store the segment name when resolution failsbohan-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-4/+4
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-2/+2
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-5/+4
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-3/+3
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-15/+15
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-4/+1
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-11-28resolve: Feed the `def_kind` query immediately on `DefId` creationVadim Petrochenkov-4/+0
2023-11-25resolve: Avoid clones of `MacroData`Vadim Petrochenkov-13/+10
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3