rust/compiler
bors 04411507be Auto merge of #113422 - Urgau:cast_ref_to_mut-pre-beta, r=Nilstrieb
Rename and allow `cast_ref_to_mut` lint

This PR is a small subset of https://github.com/rust-lang/rust/pull/112431, that is the renaming of the lint (`cast_ref_to_mut` -> `invalid_reference_casting`).

BUT also temporarily change the default level of the lint from deny-by-default to allow-by-default until https://github.com/rust-lang/rust/pull/112431 is merged.

r? `@Nilstrieb`
2023-07-29 07:48:44 +00:00
..
rustc
rustc_abi Rollup merge of #114060 - davidtwco:issue-113279, r=wesleywiser 2023-07-25 19:21:39 +02:00
rustc_arena Extend `unused_must_use` to cover block exprs 2023-06-15 17:59:13 +08:00
rustc_ast Parse generic const items 2023-07-28 22:21:33 +02:00
rustc_ast_lowering Lower generic const items to HIR 2023-07-28 22:21:40 +02:00
rustc_ast_passes Parse generic const items 2023-07-28 22:21:33 +02:00
rustc_ast_pretty Parse generic const items 2023-07-28 22:21:33 +02:00
rustc_attr Add infrastructure `#[rustc_confusables]` attribute to allow targeted 2023-07-16 19:22:03 +08:00
rustc_baked_icu_data Regen baked data 2023-05-02 10:45:16 -07:00
rustc_borrowck Remove `constness` from `ParamEnv` 2023-07-27 15:50:42 +00:00
rustc_builtin_macros Parse generic const items 2023-07-28 22:21:33 +02:00
rustc_codegen_cranelift Merge commit '1eded3619d0e55d57521a259bf27a03906fdfad0' into sync_cg_clif-2023-07-22 2023-07-22 13:32:34 +00:00
rustc_codegen_gcc Auto merge of #113877 - JhonnyBillM:reuse-codegen-ssa-monomorphization-errors-in-gcc, r=davidtwco 2023-07-24 11:29:59 +00:00
rustc_codegen_llvm coverage: Obtain the `__llvm_covfun` section name outside a per-function loop 2023-07-24 21:58:00 +10:00
rustc_codegen_ssa Rollup merge of #113872 - nnethercote:tweak-cgu-sorting, r=pnkfelix 2023-07-27 06:04:12 +02:00
rustc_const_eval Rollup merge of #113773 - compiler-errors:err-layout-bail, r=cjgillot 2023-07-29 06:13:05 +02:00
rustc_data_structures more clippy::style fixes: 2023-07-23 23:39:04 +02:00
rustc_driver Update rustix 2023-07-03 07:20:51 +00:00
rustc_driver_impl Use a builder instead of boolean/option arguments 2023-07-25 13:51:15 +00:00
rustc_error_codes error/E0691: include alignment in error message 2023-07-21 11:04:16 +02:00
rustc_error_messages borrowck/errors: fix i18n error in delayed bug 2023-07-24 15:47:03 +01:00
rustc_errors Auto merge of #113099 - bvanjoi:fix-112713-2, r=petrochenkov 2023-07-29 06:04:41 +00:00
rustc_expand Parse generic const items 2023-07-28 22:21:33 +02:00
rustc_feature Parse generic const items 2023-07-28 22:21:33 +02:00
rustc_fluent_macro Fix diagnostics with errors 2023-05-26 10:44:18 +00:00
rustc_fs_util
rustc_graphviz enable `rust_2018_idioms` for doctests 2023-05-07 00:12:29 +03:00
rustc_hir Lower generic const items to HIR 2023-07-28 22:21:40 +02:00
rustc_hir_analysis Auto merge of #114181 - matthiaskrgr:rollup-14m8s7f, r=matthiaskrgr 2023-07-28 23:53:12 +00:00
rustc_hir_pretty Lower generic const items to HIR 2023-07-28 22:21:40 +02:00
rustc_hir_typeck Rollup merge of #113773 - compiler-errors:err-layout-bail, r=cjgillot 2023-07-29 06:13:05 +02:00
rustc_incremental Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
rustc_index Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
rustc_infer Auto merge of #114181 - matthiaskrgr:rollup-14m8s7f, r=matthiaskrgr 2023-07-28 23:53:12 +00:00
rustc_interface replace atty crate with std's isTerminal 2023-07-26 18:09:50 +03:00
rustc_lexer Auto merge of #113476 - fee1-dead-contrib:c-str-lit, r=petrochenkov 2023-07-25 12:04:34 +00:00
rustc_lint Auto merge of #113422 - Urgau:cast_ref_to_mut-pre-beta, r=Nilstrieb 2023-07-29 07:48:44 +00:00
rustc_lint_defs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
rustc_llvm Support `.comment` section like GCC/Clang (`!llvm.ident`) 2023-07-21 22:01:50 +02:00
rustc_log Downgrade tracing and syn 2023-07-02 21:02:31 +02:00
rustc_macros Bump syn now that it doesn't affect diagnostics anymore 2023-07-26 08:26:50 +00:00
rustc_metadata Auto merge of #113958 - lukas-code:doc-links, r=GuillaumeGomez,petrochenkov 2023-07-25 01:35:53 +00:00
rustc_middle Rollup merge of #113773 - compiler-errors:err-layout-bail, r=cjgillot 2023-07-29 06:13:05 +02:00
rustc_mir_build Lower generic const items to HIR 2023-07-28 22:21:40 +02:00
rustc_mir_dataflow Turn copy into moves during DSE. 2023-07-19 09:59:12 +00:00
rustc_mir_transform Replace a lazy `RefCell<Option<T>>` with `OnceCell<T>` 2023-07-28 12:55:13 +10:00
rustc_monomorphize Rollup merge of #113872 - nnethercote:tweak-cgu-sorting, r=pnkfelix 2023-07-27 06:04:12 +02:00
rustc_parse Parse generic const items 2023-07-28 22:21:33 +02:00
rustc_parse_format Fix unit tests 2023-07-19 16:37:09 +00:00
rustc_passes Lower generic const items to HIR 2023-07-28 22:21:40 +02:00
rustc_plugin_impl
rustc_privacy refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
rustc_query_impl fix couple of clippy findings: 2023-07-23 10:50:14 +02:00
rustc_query_system Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk" 2023-07-21 22:35:57 -07:00
rustc_resolve Auto merge of #113099 - bvanjoi:fix-112713-2, r=petrochenkov 2023-07-29 06:04:41 +00:00
rustc_serialize Upgrade to indexmap 2.0.0 2023-07-03 13:51:54 -07:00
rustc_session Rollup merge of #114139 - Urgau:make-print-with-path-unstable, r=jackh726 2023-07-27 13:22:07 -07:00
rustc_smir Rollup merge of #114082 - ericmarkmartin:smir-nullary-op, r=spastorino 2023-07-27 06:04:14 +02:00
rustc_span Parse generic const items 2023-07-28 22:21:33 +02:00
rustc_symbol_mangling Auto merge of #113708 - rcvalle:rust-cfi-fix-100778, r=compiler-errors 2023-07-27 02:48:38 +00:00
rustc_target Auto merge of #113411 - unikraft:unikraft, r=wesleywiser 2023-07-25 03:41:56 +00:00
rustc_trait_selection Auto merge of #111916 - fee1-dead-contrib:noop-method-call-warn, r=compiler-errors 2023-07-29 01:40:50 +00:00
rustc_traits refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
rustc_transmute Don't attempt to compute layout of type referencing error 2023-07-27 18:24:08 +00:00
rustc_ty_utils Rollup merge of #113773 - compiler-errors:err-layout-bail, r=cjgillot 2023-07-29 06:13:05 +02:00
rustc_type_ir add docs for AliasKind::Inherent 2023-07-22 15:38:41 -04:00