about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/macros.rs
AgeCommit message (Expand)AuthorLines
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
2023-10-13Format all the let chains in compilerMichael Goulet-24/+36
2023-10-05Rename `Resolver::active_features`.Nicholas Nethercote-1/+1
2023-09-12`#[diagnostic::on_unimplemented]` without filtersGeorg Semmler-2/+3
2023-09-04resolve: derive diag for undetermined macro resolutionbohan-8/+7
2023-08-24resolve: Make bindings for derive helper attributes uniqueVadim Petrochenkov-5/+14
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-1/+2
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-3/+3
2023-07-28Introduce the `#[diagnostic]` attribute namespaceGeorg Semmler-3/+17
2023-07-22Use features() over features_untracked() where possibleLeón Orell Valerian Liehr-4/+1
2023-07-05resolve: Use `Interned` for `NameBinding`Vadim Petrochenkov-2/+2
2023-06-29resolve: Remove artificial import ambiguity errorsVadim Petrochenkov-1/+1
2023-06-18Add translatable diagnostic for cannot find in this scopeTom Martin-3/+10
2023-06-10Make "consider importing" consistent for macrosMu001999-3/+3
2023-06-01Remember names of `cfg`-ed out items to mention them in diagnosticsNilstrieb-3/+9
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2
2023-05-24Use `is_some_and`/`is_ok_and` in less obvious spotsMaybe Waffle-2/+1