rust/compiler
bors 6d674af861 Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser
Stop telling people to submit bugs for internal feature ICEs

This keeps track of usage of internal features, and changes the message to instead tell them that using internal features is not supported.

I thought about several ways to do this but now used the explicit threading of an `Arc<AtomicBool>` through `Session`. This is not exactly incremental-safe, but this is fine, as this is set during macro expansion, which is pre-incremental, and also only affects the output of ICEs, at which point incremental correctness doesn't matter much anyways.

See [MCP 620.](https://github.com/rust-lang/compiler-team/issues/596)

![image](https://github.com/rust-lang/rust/assets/48135649/be661f05-b78a-40a9-b01d-81ad2dbdb690)
2023-10-26 02:08:07 +00:00
..
rustc
rustc_abi
rustc_arena
rustc_ast
rustc_ast_lowering Rename AsyncCoroutineKind to CoroutineSource 2023-10-25 16:14:05 +00:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr Validate since value in stable attribute 2023-10-23 13:04:35 -07:00
rustc_baked_icu_data
rustc_borrowck Rename AsyncCoroutineKind to CoroutineSource 2023-10-25 16:14:05 +00:00
rustc_builtin_macros Auto merge of #116236 - dtolnay:builtinmacrocomment, r=cjgillot 2023-10-25 06:57:37 +00:00
rustc_codegen_cranelift Merge commit '93a5433f17ab5ed48cc88f1e69b0713b16183373' into sync_cg_clif-2023-10-24 2023-10-24 12:22:23 +00:00
rustc_codegen_gcc
rustc_codegen_llvm Auto merge of #116033 - bvanjoi:fix-116032, r=petrochenkov 2023-10-23 20:24:09 +00:00
rustc_codegen_ssa Rename AsyncCoroutineKind to CoroutineSource 2023-10-25 16:14:05 +00:00
rustc_const_eval Refactor away the need for some descr methods. 2023-10-25 16:40:32 +00:00
rustc_data_structures
rustc_driver
rustc_driver_impl Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser 2023-10-26 02:08:07 +00:00
rustc_error_codes
rustc_error_messages
rustc_errors
rustc_expand Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser 2023-10-26 02:08:07 +00:00
rustc_feature Rollup merge of #116943 - heiher:target-features, r=wesleywiser 2023-10-24 19:29:55 +02:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #117175 - oli-obk:gen_fn_split, r=compiler-errors 2023-10-25 23:37:11 +02:00
rustc_hir_analysis Rollup merge of #116553 - gurry:116464-assoc-type-invalid-suggestion, r=compiler-errors 2023-10-25 23:37:09 +02:00
rustc_hir_pretty
rustc_hir_typeck Rollup merge of #117175 - oli-obk:gen_fn_split, r=compiler-errors 2023-10-25 23:37:11 +02:00
rustc_incremental
rustc_index
rustc_infer Refactor away the need for some descr methods. 2023-10-25 16:40:32 +00:00
rustc_interface Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser 2023-10-26 02:08:07 +00:00
rustc_lexer
rustc_lint
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata
rustc_middle Rollup merge of #117175 - oli-obk:gen_fn_split, r=compiler-errors 2023-10-25 23:37:11 +02:00
rustc_mir_build Make THIR unused_unsafe lint consistent with MIR 2023-10-25 10:10:13 +00:00
rustc_mir_dataflow Auto merge of #116300 - cjgillot:split-move, r=petrochenkov 2023-10-24 00:25:32 +00:00
rustc_mir_transform Rollup merge of #117141 - tmiasko:inline-target-features, r=oli-obk 2023-10-25 19:51:14 +02:00
rustc_monomorphize
rustc_parse
rustc_parse_format
rustc_passes
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve Rollup merge of #117009 - fmease:diag-disambig-sugg-crate, r=b-naber 2023-10-25 23:37:10 +02:00
rustc_serialize
rustc_session Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiser 2023-10-26 02:08:07 +00:00
rustc_smir Rollup merge of #117175 - oli-obk:gen_fn_split, r=compiler-errors 2023-10-25 23:37:11 +02:00
rustc_span Make Iterator a lang item 2023-10-25 16:18:57 +00:00
rustc_symbol_mangling
rustc_target implement C ABI lowering for CSKY 2023-10-25 20:47:06 +08:00
rustc_trait_selection Rollup merge of #117175 - oli-obk:gen_fn_split, r=compiler-errors 2023-10-25 23:37:11 +02:00
rustc_traits
rustc_transmute
rustc_ty_utils Rollup merge of #117136 - compiler-errors:defid-list, r=oli-obk 2023-10-25 17:40:29 +02:00
rustc_type_ir Uplift Canonical to rustc_type_ir 2023-10-25 16:25:09 +00:00
stable_mir Rollup merge of #117175 - oli-obk:gen_fn_split, r=compiler-errors 2023-10-25 23:37:11 +02:00