rust/compiler
Guillaume Gomez 91d337dfa8
Rollup merge of #120840 - HTGAzureX1212:HTGAzureX1212/unicode-identifier-types, r=fmease,Manishearth
Split Diagnostics for Uncommon Codepoints: Add Individual Identifier Types

This pull request further modifies the `uncommon_codepoints` lint, adding the individual identifier types of `Technical`, `Not_NFKC`, `Exclusion` and `Limited_Use` to the diagnostic message.

Example rendered diagnostic:
```
error: identifier contains a Unicode codepoint that is not used in normalized strings: 'ij'
  --> $DIR/lint-uncommon-codepoints.rs:6:4
   |
LL | fn dijkstra() {}
   |    ^^^^^^^
   = note: this character is included in the Not_NFKC Unicode general security profile
```

Second step of #120228.
2024-02-26 10:27:41 +01:00
..
rustc
rustc_abi Fix rustc_abi build on stable 2024-01-16 21:15:31 +01:00
rustc_arena rename ptr::invalid -> ptr::without_provenance 2024-02-21 20:15:52 +01:00
rustc_ast Add newtype for raw idents 2024-02-20 13:13:29 +00:00
rustc_ast_lowering compiler: clippy::complexity fixes 2024-02-23 19:56:35 +01:00
rustc_ast_passes Remove an unchecked_error_guaranteed call. 2024-02-21 17:02:30 +11:00
rustc_ast_pretty Add newtype for raw idents 2024-02-20 13:13:29 +00:00
rustc_attr Use generic NonZero internally. 2024-02-15 08:09:42 +01:00
rustc_baked_icu_data
rustc_borrowck compiler: clippy::complexity fixes 2024-02-23 19:56:35 +01:00
rustc_builtin_macros Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillot 2024-02-25 17:05:20 +01:00
rustc_codegen_cranelift Cranelift: Don't use raw-dylib in std 2024-02-25 10:22:34 -03:00
rustc_codegen_gcc remove simd_reduce_{min,max}_nanless 2024-02-21 20:50:47 +01:00
rustc_codegen_llvm Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillot 2024-02-25 17:05:20 +01:00
rustc_codegen_ssa Auto merge of #120650 - clubby789:switchint-const, r=saethlin 2024-02-25 01:27:44 +00:00
rustc_const_eval Auto merge of #121549 - matthiaskrgr:rollup-1hvu3lb, r=matthiaskrgr 2024-02-24 21:08:39 +00:00
rustc_data_structures compiler: use addr_of! 2024-02-24 18:53:48 +03:00
rustc_driver
rustc_driver_impl Inline and remove abort_on_err. 2024-02-22 08:03:47 +11:00
rustc_error_codes Improve wording of static_mut_ref 2024-02-18 06:01:40 +03:00
rustc_error_messages errors: only eagerly translate subdiagnostics 2024-02-15 10:34:41 +00:00
rustc_errors compiler: clippy::complexity fixes 2024-02-23 19:56:35 +01:00
rustc_expand Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillot 2024-02-25 17:05:20 +01:00
rustc_feature Rollup merge of #119590 - ChrisDenton:cfg-target-abi, r=Nilstrieb 2024-02-25 17:05:19 +01:00
rustc_fluent_macro Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
rustc_fs_util Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
rustc_graphviz Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
rustc_hir Don't ICE on anonymous struct in enum variant 2024-02-23 12:25:23 +00:00
rustc_hir_analysis Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkin 2024-02-25 19:11:06 +00:00
rustc_hir_pretty Lower anonymous structs or unions to HIR 2024-02-12 12:47:23 +08:00
rustc_hir_typeck compiler: clippy::complexity fixes 2024-02-23 19:56:35 +01:00
rustc_incremental Adjust the has_errors* methods. 2024-02-22 08:03:47 +11:00
rustc_index Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
rustc_index_macros Step all bootstrap cfgs forward 2024-02-08 07:44:34 -05:00
rustc_infer Auto merge of #121549 - matthiaskrgr:rollup-1hvu3lb, r=matthiaskrgr 2024-02-24 21:08:39 +00:00
rustc_interface Rollup merge of #121392 - bjorn3:unify_dylib_loading, r=petrochenkov 2024-02-21 22:48:59 +01:00
rustc_lexer Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
rustc_lint Rollup merge of #120840 - HTGAzureX1212:HTGAzureX1212/unicode-identifier-types, r=fmease,Manishearth 2024-02-26 10:27:41 +01:00
rustc_lint_defs make non-PartialEq-typed consts as patterns a hard error 2024-02-25 11:30:10 +01:00
rustc_llvm remove simd_reduce_{min,max}_nanless 2024-02-21 20:50:47 +01:00
rustc_log Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
rustc_macros Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkin 2024-02-25 19:11:06 +00:00
rustc_metadata Rollup merge of #121392 - bjorn3:unify_dylib_loading, r=petrochenkov 2024-02-21 22:48:59 +01:00
rustc_middle Rollup merge of #121556 - GrigorenkoPV:addr_of, r=Nilstrieb 2024-02-24 22:39:01 +01:00
rustc_mir_build make non-PartialEq-typed consts as patterns a hard error 2024-02-25 11:30:10 +01:00
rustc_mir_dataflow Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkin 2024-02-16 09:53:01 +00:00
rustc_mir_transform Auto merge of #121114 - Nilstrieb:no-inline!, r=saethlin 2024-02-25 03:47:31 +00:00
rustc_monomorphize Reduce capabilities of Diagnostic. 2024-02-20 13:22:17 +11:00
rustc_next_trait_solver Move visitable bounds up into interner 2024-02-13 15:53:15 +00:00
rustc_parse Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillot 2024-02-25 17:05:20 +01:00
rustc_parse_format remove a couple of redundant clones 2024-02-17 12:46:18 +01:00
rustc_passes Rollup merge of #121391 - Nadrieril:fix-liveness, r=compiler-errors 2024-02-21 22:48:58 +01:00
rustc_pattern_analysis Rollup merge of #121324 - Nadrieril:unspecialize, r=cjgillot 2024-02-25 17:05:21 +01:00
rustc_privacy Allow for a missing adt_def in NamePrivacyVisitor. 2024-02-23 10:57:11 +11:00
rustc_query_impl Replace NonZero::<_>::new with NonZero::new. 2024-02-15 08:09:42 +01:00
rustc_query_system Rollup merge of #121401 - eltociear:patch-25, r=nnethercote 2024-02-22 18:09:54 +01:00
rustc_resolve Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillot 2024-02-25 17:05:20 +01:00
rustc_serialize Replace NonZero::<_>::new with NonZero::new. 2024-02-15 08:09:42 +01:00
rustc_session compiler: clippy::complexity fixes 2024-02-23 19:56:35 +01:00
rustc_smir compiler: clippy::complexity fixes 2024-02-23 19:56:35 +01:00
rustc_span Add #[rustc_no_mir_inline] for standard library UB checks 2024-02-24 21:19:41 +01:00
rustc_symbol_mangling Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obk 2024-02-12 23:18:54 +01:00
rustc_target Rollup merge of #119590 - ChrisDenton:cfg-target-abi, r=Nilstrieb 2024-02-25 17:05:19 +01:00
rustc_trait_selection Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillot 2024-02-25 17:05:20 +01:00
rustc_traits Rename some normalization-related items 2024-02-20 17:30:49 +01:00
rustc_transmute Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
rustc_ty_utils Rollup merge of #121208 - nnethercote:delayed_bug-to-bug, r=lcnr 2024-02-21 08:55:56 +00:00
rustc_type_ir overflow errors: change source to a concrete enum 2024-02-22 17:43:57 +01:00
stable_mir compiler: use addr_of! 2024-02-24 18:53:48 +03:00