rust/compiler
bors bfffe406fb Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
Migrate `rustc_lint` lint diagnostics

Part 2 of [Migrate `rustc_lint` errors to `SessionDiagnostic`](https://github.com/rust-lang/rust/pull/100776)

r? `@davidtwco`

# TODO
- [x] Refactor some lints manually implementing `DecorateLint` to use `Option<Subdiagnostic>`.
- [x] Add `#[rustc_lint_diagnostics]` to lint functions in `context.rs`.
- [x] Migrate `hidden_unicode_codepoints.rs`.
- [x] Migrate `UnsafeCode` in `builtin.rs`.
- [x] Migrate the rest of `builtin.rs`.
2023-01-13 02:13:00 +00:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_ast_lowering Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_ast_passes
rustc_ast_pretty Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_attr Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_baked_icu_data
rustc_borrowck Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_builtin_macros Update format.rs 2023-01-02 15:51:54 +05:30
rustc_codegen_cranelift Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_codegen_gcc Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_codegen_llvm Rollup merge of #104543 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt3, r=davidtwco 2023-01-07 20:43:19 +01:00
rustc_codegen_ssa Auto merge of #106760 - compiler-errors:rollup-0bogyco, r=compiler-errors 2023-01-12 10:46:19 +00:00
rustc_const_eval Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors 2023-01-11 17:30:55 +01:00
rustc_data_structures Harden the pre-tyctxt query system against accidental recomputation 2023-01-12 09:26:28 +00:00
rustc_driver Auto merge of #105603 - oli-obk:non_repeatable_queries, r=petrochenkov 2023-01-12 13:59:30 +00:00
rustc_error_codes Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco 2023-01-12 15:44:52 +01:00
rustc_error_messages Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco 2023-01-13 02:13:00 +00:00
rustc_errors Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco 2023-01-11 17:30:54 +01:00
rustc_expand Shrink ParseResult in the hot path. 2023-01-05 20:42:26 +01:00
rustc_feature Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett 2023-01-13 05:47:21 +09:00
rustc_fs_util
rustc_graphviz Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir fix typo LocalItemId -> ItemLocalId 2023-01-11 15:45:52 +03:00
rustc_hir_analysis Rollup merge of #106759 - compiler-errors:revert-105255, r=cjgillot 2023-01-13 05:47:24 +09:00
rustc_hir_pretty Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir_typeck Auto merge of #106760 - compiler-errors:rollup-0bogyco, r=compiler-errors 2023-01-12 10:46:19 +00:00
rustc_incremental
rustc_index Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_infer Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco 2023-01-12 15:44:52 +01:00
rustc_interface Harden the pre-tyctxt query system against accidental recomputation 2023-01-12 09:26:28 +00:00
rustc_lexer Recover fn keyword as Fn trait in bounds 2022-12-27 06:14:46 +00:00
rustc_lint Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco 2023-01-13 02:13:00 +00:00
rustc_lint_defs create helper function for rustc_lint_defs::Level and remove it's duplicated code r=ozkanonur 2023-01-10 10:56:17 +03:00
rustc_llvm rustc_llvm: replace llvm::makeArrayRef with ArrayRef constructors. 2023-01-11 11:25:15 -05:00
rustc_log Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_macros Support eager subdiagnostics again 2023-01-11 14:20:34 -08:00
rustc_metadata Use newtype for unused generic parameters 2023-01-09 19:10:00 +01:00
rustc_middle Auto merge of #106760 - compiler-errors:rollup-0bogyco, r=compiler-errors 2023-01-12 10:46:19 +00:00
rustc_mir_build Rollup merge of #106097 - mejrs:mir_build2, r=oli-obk 2023-01-11 22:25:47 -08:00
rustc_mir_dataflow Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_mir_transform Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_monomorphize Delete unused polymorphization code 2023-01-09 19:10:00 +01:00
rustc_parse Auto merge of #106537 - fmease:recover-where-clause-before-tuple-struct-body, r=estebank 2023-01-12 02:16:16 +00:00
rustc_parse_format Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_passes Rename Rptr to Ref in AST and HIR 2022-12-28 18:52:36 +01:00
rustc_plugin_impl
rustc_privacy Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_query_impl Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_query_system Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_resolve review comments: Tweak output 2023-01-11 21:36:02 +00:00
rustc_save_analysis rename get_parent_node to parent_id 2023-01-04 00:43:13 +00:00
rustc_serialize
rustc_session Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco 2023-01-11 17:30:56 +01:00
rustc_smir
rustc_span [RFC 2397] Initial implementation 2023-01-09 20:51:01 -03:00
rustc_symbol_mangling Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00
rustc_target Stabilize abi_efiapi feature 2023-01-11 20:42:13 -05:00
rustc_trait_selection Rollup merge of #106322 - compiler-errors:CollectAllMismatches-infer-vars, r=oli-obk 2023-01-12 15:44:51 +01:00
rustc_traits Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk 2023-01-10 08:05:34 +09:00
rustc_transmute Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_ty_utils Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_type_ir Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00