rust/compiler
Mara Bos f827d3e285 Make const panic!("..") work in Rust 2021.
During const eval, this replaces calls to core::panicking::panic_fmt and
std::panicking::being_panic_fmt with a call to a new const fn:
core::panicking::const_panic_fmt. That function uses
fmt::Arguments::as_str() to get the str and calls panic_str with that
instead.

panic!() invocations with formatting arguments are still not accepted,
as the creation of such a fmt::Arguments cannot be done in constant
functions right now.
2021-07-28 16:10:41 +02:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Stabilize const_fn_transmute 2021-07-27 16:03:09 -04:00
rustc_ast_lowering Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_ast_passes Auto merge of #85305 - MarcusDunn:master, r=pnkfelix 2021-07-27 05:53:31 +00:00
rustc_ast_pretty
rustc_attr
rustc_builtin_macros Prohibit #[default] in invalid places 2021-07-27 15:47:49 -04:00
rustc_codegen_cranelift Rollup merge of #87092 - ricobbe:fix-raw-dylib-multiple-definitions, r=petrochenkov 2021-07-18 14:21:56 +09:00
rustc_codegen_llvm Auto merge of #86950 - tmiasko:personality, r=nagisa 2021-07-18 20:33:23 +00:00
rustc_codegen_ssa Auto merge of #87153 - michaelwoerister:debuginfo-names-dyn-trait-projection-bounds, r=wesleywiser 2021-07-19 21:25:43 +00:00
rustc_data_structures Auto merge of #86429 - JohnTitor:get-by-key-enum-part-2, r=oli-obk 2021-07-23 23:17:38 +00:00
rustc_driver Support -Z unpretty=thir-tree again 2021-07-24 17:18:15 -04:00
rustc_error_codes Indicate E0665 is no longer emitted 2021-07-27 15:47:49 -04:00
rustc_errors Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
rustc_expand Auto merge of #87381 - Aaron1011:note-semi-trailing-macro, r=petrochenkov 2021-07-25 04:34:58 +00:00
rustc_feature Auto merge of #86735 - jhpratt:rfc-3107, r=petrochenkov 2021-07-28 05:59:30 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Make const panic!("..") work in Rust 2021. 2021-07-28 16:10:41 +02:00
rustc_hir_pretty Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_incremental Move OnDiskCache to rustc_query_impl. 2021-07-18 11:14:07 +02:00
rustc_index
rustc_infer Auto merge of #86461 - crlf0710:rich_vtable, r=nikomatsakis 2021-07-24 10:21:23 +00:00
rustc_interface Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
rustc_lexer Remove ASCII fast path from rustc_lexer::{is_id_continue, is_id_start} 2021-07-26 20:17:28 -04:00
rustc_lint Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_lint_defs Display an extra note for trailing semicolon lint with trailing macro 2021-07-24 11:46:44 -05:00
rustc_llvm Upgrade cc crate to 1.0.69 2021-07-13 17:58:50 +09:00
rustc_macros Move OnDiskCache to rustc_query_impl. 2021-07-18 11:14:07 +02:00
rustc_metadata Auto merge of #83723 - cjgillot:ownernode, r=petrochenkov 2021-07-25 11:11:02 +00:00
rustc_middle Auto merge of #86251 - Smittyvb:thir-tree-again, r=oli-obk 2021-07-28 09:01:11 +00:00
rustc_mir Make const panic!("..") work in Rust 2021. 2021-07-28 16:10:41 +02:00
rustc_mir_build Auto merge of #86251 - Smittyvb:thir-tree-again, r=oli-obk 2021-07-28 09:01:11 +00:00
rustc_parse Auto merge of #85305 - MarcusDunn:master, r=pnkfelix 2021-07-27 05:53:31 +00:00
rustc_parse_format
rustc_passes Only check macro attributes when checking the crate root. 2021-07-25 12:23:37 +02:00
rustc_plugin_impl
rustc_privacy Actually infer args in visitors 2021-07-26 21:15:18 +00:00
rustc_query_impl Support HIR wf checking for function signatures 2021-07-20 10:58:14 -05:00
rustc_query_system
rustc_resolve Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_save_analysis Introduce OwnerNode::Crate. 2021-07-25 12:22:47 +02:00
rustc_serialize
rustc_session Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
rustc_span Make const panic!("..") work in Rust 2021. 2021-07-28 16:10:41 +02:00
rustc_symbol_mangling
rustc_target freebsd remove compiler workaround. 2021-07-25 17:38:44 +01:00
rustc_trait_selection Auto merge of #86461 - crlf0710:rich_vtable, r=nikomatsakis 2021-07-24 10:21:23 +00:00
rustc_traits Add initial implementation of HIR-based WF checking for diagnostics 2021-07-16 16:29:02 -05:00
rustc_ty_utils
rustc_type_ir
rustc_typeck Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00